[PATCH] D70749: [InstCombine] do not insert nonnull assumption for undef
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 26 16:24:14 PST 2019
xbolva00 added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3197
Value *V = CS->getArgOperand(Idx);
-
+ if (isa<UndefValue>(*V))
+ continue;
----------------
Move before if above ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70749/new/
https://reviews.llvm.org/D70749
More information about the llvm-commits
mailing list