[PATCH] D116825: [GVN] MemorySSA for GVN: use MemorySSA for redundant loads elimination

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 16 10:21:43 PST 2022


chill added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/GVN.cpp:1050
       // rehashed.  Just leave the dead load around.
       gvn.getMemDep().removeInstruction(CoercedLoad);
       LLVM_DEBUG(dbgs() << "GVN COERCED NONLOCAL LOAD:\nOffset: " << Offset
----------------
Aha, segfault here, I guess.


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

https://reviews.llvm.org/D116825



More information about the llvm-commits mailing list