[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
Thu Jul 9 23:45:55 PDT 2020
craig.topper created this revision.
craig.topper added reviewers: efriedma, lebedev.ri, nlopes, spatel, reames.
Herald added subscribers: kerbowa, hiraditya, nhaehnle, jvesely.
Herald added a project: LLVM.
This matches the recent change to InstSimplify from D83440 <https://reviews.llvm.org/D83440>.
Repository:
rG LLVM Github Monorepo
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.276923.patch
Type: text/x-patch
Size: 6217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200710/dbe399ca/attachment.bin>
More information about the llvm-commits
mailing list