[PATCH] D17294: Fix for PR 26500

Kit Barton via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 10:28:08 PST 2016


kbarton added inline comments.

================
Comment at: lib/Target/PowerPC/PPCFrameLowering.cpp:606
@@ -594,1 +605,3 @@
+                                     &PPC::GPRCRegClass);
+
   // Make sure the register scavenger was able to find an available register
----------------
Yes, good catch!
This should be easy to do by masking out all non-volatile registers from the bit vector, before traversing it. 


Repository:
  rL LLVM

http://reviews.llvm.org/D17294





More information about the llvm-commits mailing list