[clang] [llvm] [LLVM][AArch64] Add "u" variants of sve.[s,u]hsub intrinsics (PR #170894)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 10:27:37 PST 2025


================
@@ -2125,7 +2125,7 @@ def : InstRW<[V2Write_2c_1V],
                         "^ADR_LSL_ZZZ_[SD]_[0123]",
                         "^[SU](ADD|SUB)[LW][BT]_ZZZ_[HSD]",
                         "^SADDLBT_ZZZ_[HSD]",
-                        "^[SU]H(ADD|SUB|SUBR)_ZPmZ_[BHSD]",
+                        "^[SU]H(ADD|SUB|SUBR)_(ZPmZ|ZPZZ)_[BHSD]",
----------------
paulwalker-arm wrote:

Sounds like a fantastic idea to me.  I've done this under https://github.com/llvm/llvm-project/pull/171487 and will update this PR once I'm confident there's no fallout.

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


More information about the llvm-commits mailing list