Luke Lau 9a7e307b64
[VectorCombine] Add tests for UB issue, remove immediate UB from existing tests. NFC (#138395)
This adds a test that exercises the part of scalarizeBinOpOrCmp that
produces immediate UB as described in
https://github.com/llvm/llvm-project/pull/138095#discussion_r2070133432,
but is fortunately currently folded into a correct transform.

I also noticed a bunch of immediate UB in some of the existing tests so
this also cleans them up. They should still all be scalarized though.
2025-05-05 12:22:08 +08:00
..
2023-10-23 10:42:28 +02:00