[llvm] [AArch64][GlobalISel] Support more types for TRUNC (PR #66927)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 11:37:13 PDT 2023


================
@@ -542,14 +542,22 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget &ST)
       });
 
   getActionDefinitionsBuilder(G_TRUNC)
+      .legalFor({{v2s32, v2s64}, {v4s16, v4s32}, {v8s8, v8s16}})
----------------
tschuett wrote:

Any plans for a MIR test as you changed the legalizer?

https://github.com/llvm/llvm-project/pull/66927


More information about the llvm-commits mailing list