[PATCH] D124554: [SimpleLoopUnswitch] Freeze individual OR/AND operands.
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 13:05:28 PDT 2022
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp:222
+ Inv = IRB.CreateFreeze(Inv, Inv->getName() + ".fr");
+ }
+ FrozenInvariants.push_back(Inv);
----------------
nit: unnecessary braces
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124554/new/
https://reviews.llvm.org/D124554
More information about the llvm-commits
mailing list