[PATCH] D152281: [Transforms][LICM] Add the ability to undo unprofitable reassociation
Paul Osmialowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 28 03:05:31 PDT 2023
pawosm01 marked an inline comment as done.
pawosm01 added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LICM.cpp:2741
+ Instruction *Ins = dyn_cast<Instruction>(U->getUser());
+ assert(Ins);
+ IRBuilder<> Builder(Preheader->getTerminator());
----------------
pawosm01 wrote:
> nikic wrote:
> > dyn_cast + assert == cast
> ah, I didn't notice that, I'll get back to it soon.
Done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152281/new/
https://reviews.llvm.org/D152281
More information about the llvm-commits
mailing list