[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)
commit26cc5bea3921f373be326e750bffd9f9a6d23313
tree835e05ff20746300c5f48859e8930d41b0568d6c
parentd90fc9d0fc5412ec3b57d3a949cd8d875a740b54
[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>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223156 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64AsmPrinter.cpp
test/CodeGen/AArch64/arm64-stackmap-nops.ll [new file with mode: 0644]