[PATCH] D105392: [InstCombine] Add optimization to prevent poison from being propagated.
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 4 10:43:55 PDT 2021
xbolva00 added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3546
+ for (auto *operand = Inst->operands().begin();
+ operand != Inst->operands().end(); ++operand) {
+ if (isGuaranteedNotToBeUndefOrPoison(operand->get()))
----------------
Address clang tidy warnings? Plus above.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105392/new/
https://reviews.llvm.org/D105392
More information about the llvm-commits
mailing list