Nikita Popov 167db7ce55 [InstCombine] Guard against FP min/max in select fold (PR64937)
This is partial revert of cbca9ce91c6440f8815742b8a73a27aa81e806e6.
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.
2023-08-24 15:29:59 +02:00
..
2022-08-24 22:41:38 +00:00
2023-08-11 18:16:24 +01:00
2023-07-30 18:38:45 +02:00
2023-07-30 18:38:45 +02:00
2023-07-30 18:38:45 +02:00

This directory contains test cases for the instcombine transformation.  The
dated tests are actual bug tests, whereas the named tests are used to test
for features that the this pass should be capable of performing.