[PATCH] D158898: [CodeGenPrepare] Fix modification status bug

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 26 00:32:00 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG856c46383951: [CodeGenPrepare] Fix modification status bug (authored by aidengrossman).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158898/new/

https://reviews.llvm.org/D158898

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp


Index: llvm/lib/CodeGen/CodeGenPrepare.cpp
===================================================================
--- llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -1200,6 +1200,7 @@
       if (RI->getStatepoint() == RelocatedBase->getStatepoint())
         if (RI->getBasePtrIndex() == RelocatedBase->getBasePtrIndex()) {
           RelocatedBase->moveBefore(RI);
+          MadeChange = true;
           break;
         }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158898.553709.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230826/ecdb862e/attachment.bin>


More information about the llvm-commits mailing list