[PATCH] D26291: [AArch64] Spill instructions w/o immediate field may require an emergency spill slot
Sanjin Sijaric via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 3 16:21:23 PDT 2016
ssijaric created this revision.
ssijaric added reviewers: mcrosier, t.p.northover, jmolloy.
ssijaric added a subscriber: llvm-commits.
ssijaric set the repository for this revision to rL LLVM.
Herald added subscribers: qcolombet, rengolin, aemerson.
Make sure to create an emergency spill slot if we are spilling or reloading with instructions that have no immediate field. Since we need to scavenge a spare register to hold the stack address, we currently assert if there is no spare register and no emergency spill slot to which to spill an existing register.
Repository:
rL LLVM
https://reviews.llvm.org/D26291
Files:
lib/Target/AArch64/AArch64FrameLowering.cpp
lib/Target/AArch64/AArch64InstrInfo.cpp
lib/Target/AArch64/AArch64MachineFunctionInfo.h
test/CodeGen/AArch64/emergency_spill_slot_nonri.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26291.76899.patch
Type: text/x-patch
Size: 16460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161103/4d6008c1/attachment.bin>
More information about the llvm-commits
mailing list