diff options
author | Aiden Grossman <agrossman154@yahoo.com> | 2023-08-25 14:39:58 -0700 |
---|---|---|
committer | Aiden Grossman <agrossman154@yahoo.com> | 2023-08-26 00:31:40 -0700 |
commit | 856c4638395148f73cc63b27de059bed5662a211 (patch) | |
tree | b77297aee0bb66713da8580906ad6ef15134b03c /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | ffad4f8fcac5fa5e65b979ab2a2fcf903a66e5e2 (diff) | |
download | llvm-856c4638395148f73cc63b27de059bed5662a211.zip llvm-856c4638395148f73cc63b27de059bed5662a211.tar.gz llvm-856c4638395148f73cc63b27de059bed5662a211.tar.bz2 |
[CodeGenPrepare] Fix modification status bug
This was exposed in https://reviews.llvm.org/D158250 in
CodeGen/X86/statepoint-stack-usage.ll. There was no update to the
modification status in this section.
Co-Authored-By: nikic
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D158898
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index e44682f..194a98e 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -1200,6 +1200,7 @@ simplifyRelocatesOffABase(GCRelocateInst *RelocatedBase, if (RI->getStatepoint() == RelocatedBase->getStatepoint()) if (RI->getBasePtrIndex() == RelocatedBase->getBasePtrIndex()) { RelocatedBase->moveBefore(RI); + MadeChange = true; break; } |