[PATCH] D29056: PowerPC: Mark super regs of reserved regs reserved.
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 15:39:43 PST 2017
MatzeB created this revision.
Herald added a subscriber: mcrosier.
When a register like https://reviews.llvm.org/diffusion/L/ is reserved, X1 should be reserved as well. This
was already done "manually" when 64bit code was enabled, however using
the markSuperRegs() function on the base register is more convenient and
allows to use the checksAllSuperRegsMarked() function even in 32bit mode
to avoid accidental breakage in the future. markSuperRegs() is used even
on registers without superregs for consistency.
And more importantly for me: It allows me to make progress in
https://reviews.llvm.org/D28881
Repository:
rL LLVM
https://reviews.llvm.org/D29056
Files:
lib/Target/PowerPC/PPCRegisterInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29056.85476.patch
Type: text/x-patch
Size: 3925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/beb1f650/attachment.bin>
More information about the llvm-commits
mailing list