[llvm] [GlobalISel] avoid G_TRUNC with floating-point G_MERGE_VALUES source (PR #206733)
Kacper Doga via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 03:10:59 PDT 2026
================
----------------
varev-dev wrote:
For AArch64 there is no dedicated MIR test for `tryCombineTrunc`.
There are some general `legalize-*` that produce `G_TRUNC` artifacts and exercise the folds indirectly, but none is to specifically target or verify tryCombineTrunc.
I may rename the test file to `artifact-combine-trunc.mir`, to better reflect the scope so it would be easier to identify where it happens (legalization artifact combiner) and what is the general purpose (combine-trunc).
https://github.com/llvm/llvm-project/pull/206733
More information about the llvm-commits
mailing list