[llvm] [AArch64][GlobalISel] Add pattern to prevent scalar uqxtn fallback (PR #201546)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 04:31:02 PDT 2026


================
@@ -6696,6 +6696,9 @@ defm UQXTN  : SIMDTwoScalarMixedBHS<1, 0b10100, "uqxtn", int_aarch64_neon_scalar
 defm USQADD : SIMDTwoScalarBHSDTied< 1, 0b00011, "usqadd", AArch64usqadd,
                                     int_aarch64_neon_usqadd>;
 
+def : Pat<(i32 (int_aarch64_neon_scalar_uqxtn (i64 FPR64:$Rn))),
----------------
arsenm wrote:

I wouldn't expect to write a new pattern for an intrinsic which works with selectiondag already 

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


More information about the llvm-commits mailing list