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

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 06:21:45 PDT 2023


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

I have added some MIR tests in the follow up patch, is this what you were looking for?

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


More information about the llvm-commits mailing list