[AArch64][Stackmaps] Optimize stackmap shadows on AArch64.
authorLang Hames <lhames@gmail.com>
Tue, 2 Dec 2014 21:36:24 +0000 (21:36 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 2 Dec 2014 21:36:24 +0000 (21:36 +0000)
commita7395bf49bfe89ccae612ac77fc400b1f5fa301f
tree9bcf2dfa8964ee80fdd3b0deb285b4e3b21c9029
parentbe40b2f1b25c655412f4a90536ffa4d066f82834
[AArch64][Stackmaps] Optimize stackmap shadows on AArch64.

Reduce the number of nops emitted for stackmap shadows on AArch64 by counting
non-stackmap instructions up to the next branch target towards the requested
shadow.

<rdar://problem/14959522>

llvm-svn: 223156
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
llvm/test/CodeGen/AArch64/arm64-stackmap-nops.ll [new file with mode: 0644]