[PATCH] D148708: [BasicBlockUtils] Extract branch inverting to a separate method
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 21 04:54:21 PDT 2023
mkazantsev added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:2060
+ CI->setPredicate(CI->getInversePredicate());
+ } else {
+ NewCond = Builder.CreateNot(NewCond, NewCond->getName() + ".not");
----------------
`{ }` not needed.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148708/new/
https://reviews.llvm.org/D148708
More information about the llvm-commits
mailing list