Skip to content
Commit 167db7ce authored by Nikita Popov's avatar Nikita Popov
Browse files

[InstCombine] Guard against FP min/max in select fold (PR64937)

This is partial revert of cbca9ce9.
That commit removed the code guarding against min/max SPF patterns,
because those are now canonicalized to min/max intrinsics. However,
this is only true for integer min/max, while FP min/max can not
always be canonicalized to an intrinsic. As such, restore a
simplified version of the guard that handles only the FP case.

Fixes https://github.com/llvm/llvm-project/issues/64937.
parent 8a09d889
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment