[PATCH] D149592: [InstCombine] Fix bug in `FoldOpIntoSelect` where we would incorrectly fold `undef` as constant
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 1 09:32:42 PDT 2023
goldstein.w.n updated this revision to Diff 518473.
goldstein.w.n added a comment.
Use isGuaranteedNotToBeUndefOrPoison
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149592/new/
https://reviews.llvm.org/D149592
Files:
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/binop-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149592.518473.patch
Type: text/x-patch
Size: 4655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230501/8777eae3/attachment.bin>
More information about the llvm-commits
mailing list