This matches the recent change to InstSimplify from D83440.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D83535
[IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction unless we know C isn't poison. ClosedPublic Authored by craig.topper on Jul 9 2020, 11:45 PM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 10 2020, 4:45 AM Closed by commit rG1cf6f210a2ed: [IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction… (authored by craig.topper). · Explain WhyJul 10 2020, 10:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 277098 llvm/lib/IR/ConstantFold.cpp
llvm/test/Transforms/InferAddressSpaces/AMDGPU/select.ll
llvm/test/Transforms/InstSimplify/select.ll
|