[all-commits] [llvm/llvm-project] cb29ba: [InstCombine] adjust tests for fptoui + trunc; NFC
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Fri Jan 20 11:25:09 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb29ba9c0f8726d768caff29f7c400c19774cbd8
https://github.com/llvm/llvm-project/commit/cb29ba9c0f8726d768caff29f7c400c19774cbd8
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M llvm/test/Transforms/InstCombine/trunc-fp-to-int.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list