[PATCH] D21395: Fix for Bug 28144

Vivek Pandya via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 12:17:44 PDT 2016


vivekvpandya added inline comments.

================
Comment at: lib/CodeGen/RegUsageInfoCollector.cpp:119
@@ +118,3 @@
+
+  for (MachineBasicBlock &MBB : MF) {
+    for (MachineInstr &MI : MBB) {
----------------
I have added this code after marking callee saved registers as preserved because if any callee inside the MF body is using the register , which has marked safe above then that will be correct register usage information.


http://reviews.llvm.org/D21395





More information about the llvm-commits mailing list