[PATCH] D103617: [InstCombine] eliminate sext and/or trunc if value has enough signbits
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 3 07:48:20 PDT 2021
spatel added a comment.
In D103617#2796286 <https://reviews.llvm.org/D103617#2796286>, @lebedev.ri wrote:
> As per 5a654bfeab588715fa6d266a7789484850605a18 <https://reviews.llvm.org/rG5a654bfeab588715fa6d266a7789484850605a18>, did you add the test where we'd form `trunc`?
I didn't know you had tried this one already. :)
Yes - see tests "wide_source_matching_signbits" and "wide_source_not_matching_signbits".
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103617/new/
https://reviews.llvm.org/D103617
More information about the llvm-commits
mailing list