Unverified Commit 536cb1fa authored by Michele Scandale's avatar Michele Scandale Committed by GitHub
Browse files

[InstCombine] Fix for folding select-like `shufflevector` into floating point...

[InstCombine] Fix for folding select-like `shufflevector` into floating point binary operators. (#85452)

Folding a select-like `shufflevector` into a floating point binary
operators can only be done if the result is preserved for both case. In
particular, if the common operand of the `shufflevector` and the
floating point binary operator can be a NaN, then the transformation
won't preserve the result value.
parent 3eb58d15
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