[InstCombine] adjust tests for fptoui + trunc; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 20 Jan 2023 19:10:23 +0000 (14:10 -0500)
committerSanjay Patel <spatel@rotateright.com>
Fri, 20 Jan 2023 19:24:56 +0000 (14:24 -0500)
commitcb29ba9c0f8726d768caff29f7c400c19774cbd8
treef3bc3512c166e34fa8a745b17ce262893e523c94
parent16f8d17f7bd87c9da5266ae5136793a81624ecb7
[InstCombine] adjust tests for fptoui + trunc; NFC

Tests were duplicated for undef-ness, but that's not necessary.
There were no tests for bfloat/double.

I deleted the fptosi tests for now because those will just
be a bitwidth adjustment to the fptoui tests once we settle
on the right set of tests.

I think it should just be 2 tests on either side of the
bitwidth boundary to allow a fold with a couple of extra
tests thrown in to show other type constraints are not
a factor.

Goes with:
D142093
llvm/test/Transforms/InstCombine/trunc-fp-to-int.ll