[PATCH] D84031: Clear NewGEPBases after finish using them in CodeGenPrep pass

Yichao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 09:12:22 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa248eca66597: Clear NewGEPBases after finish using them in CodeGenPrep pass (authored by yuyichao).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84031

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp


Index: llvm/lib/CodeGen/CodeGenPrepare.cpp
===================================================================
--- llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -544,6 +544,7 @@
     LargeOffsetGEPID.clear();
   }
 
+  NewGEPBases.clear();
   SunkAddrs.clear();
 
   if (!DisableBranchOpts) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84031.307382.patch
Type: text/x-patch
Size: 326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201124/b7256835/attachment.bin>


More information about the llvm-commits mailing list