[PATCH] D21395: Fix for Bug 28144

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 13:01:24 PDT 2016


mehdi_amini added inline comments.

================
Comment at: lib/CodeGen/MachineRegisterInfo.cpp:511
@@ -509,3 +510,3 @@
     for (const MachineOperand &MO : make_range(def_begin(*AI), def_end())) {
-      if (isNoReturnDef(MO))
+      if (!SkipNoReturnDef && isNoReturnDef(MO))
         continue;
----------------
Do you have a test for that?
Are you fixing two different bugs here?


http://reviews.llvm.org/D21395





More information about the llvm-commits mailing list