[PATCH] D83535: [IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction unless we know C isn't poison.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 10 10:42:53 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1cf6f210a2ed: [IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction… (authored by craig.topper).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83535/new/
https://reviews.llvm.org/D83535
Files:
llvm/lib/IR/ConstantFold.cpp
llvm/test/Transforms/InferAddressSpaces/AMDGPU/select.ll
llvm/test/Transforms/InstSimplify/select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83535.277098.patch
Type: text/x-patch
Size: 6217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200710/ef23d7e3/attachment.bin>
More information about the llvm-commits
mailing list