aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-10-12 15:03:16 +0300
committerMartin Storsjö <martin@martin.st>2022-10-13 09:47:38 +0300
commit19e2b403b4a9d92b95400dd6e3ecb198884de64a (patch)
tree07004f7071a797dc096e255b045e4eedc98447b5 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent50e0aced4521260af842dba73f1d8c50d36314ea (diff)
downloadllvm-19e2b403b4a9d92b95400dd6e3ecb198884de64a.zip
llvm-19e2b403b4a9d92b95400dd6e3ecb198884de64a.tar.gz
llvm-19e2b403b4a9d92b95400dd6e3ecb198884de64a.tar.bz2
[AArch64] Remove dead code for inserting SEH opcodes for realignment. NFC.
If the stack is realigned, we've emitted a frame pointer and already terminated the SEH prologue, making this dead code since a07787c9a50c046e45921dd665f5a53a752bbc31. The immediate to this SEH opcode was entirely bogus - we don't know how many bytes the AND operation adjusts the SP, and by doing "NumBytes & andMaskEncoded" (where andMaskEncoded was the immediate bitpattern for the AND instruction), the immediate to the opcode was total gibberish. This hasn't had any practical effect, since the original stack pointer always was restored from the frame pointer afterwards anyway. Differential Revision: https://reviews.llvm.org/D135815
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions