Commit 1cf6f210 authored by Craig Topper's avatar Craig Topper
Browse files

[IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction...

[IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction unless we know C isn't poison.

This matches the recent change to InstSimplify from D83440.

Differential Revision: https://reviews.llvm.org/D83535
parent 954db63c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment