[PATCH] D153151: [EarlyCSE] Do not CSE convergent calls with memory effects
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 13 09:47:54 PDT 2023
arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/Scalar/EarlyCSE.cpp:545
+ CallInst *LHSI = cast<CallInst>(LHS.Inst);
+ CallInst *RHSI = cast<CallInst>(RHS.Inst);
+
----------------
Is this supposed to implicitly assume invokes and callbr can't reach here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153151/new/
https://reviews.llvm.org/D153151
More information about the llvm-commits
mailing list