[PATCH] D96106: [GVNSink][Fix] Unregister assumptions that are replaced (PR49043)
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 6 09:01:58 PST 2021
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/GVNSink.cpp:884
if (I != I0)
I->replaceAllUsesWith(I0);
foldPointlessPHINodes(BBEnd);
----------------
@nikic This is where one assume is replaced with another, e.g., in the attached test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96106/new/
https://reviews.llvm.org/D96106
More information about the llvm-commits
mailing list