[llvm] [NewGVN][1/3] Load coercion between load and store (PR #68659)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 15:38:35 PDT 2023


================
@@ -653,6 +658,16 @@ class NewGVN {
   // Deletion info.
   SmallPtrSet<Instruction *, 8> InstructionsToErase;
 
+  // Map candidate load to their depending instructions.
+  mutable std::map<Value *, DenseSet<std::pair<Instruction *, BasicBlock *>>>
----------------
aeubanks wrote:

`Value *` -> `LoadInst *`

https://github.com/llvm/llvm-project/pull/68659


More information about the llvm-commits mailing list