[llvm] [RISCV] Add tests for vwaddu_wv+vabd(u) combine (PR #184962)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 6 23:27:28 PST 2026


================
@@ -482,6 +482,112 @@ define <vscale x 4 x i32> @uabd_non_matching_promotion(<vscale x 4 x i8> %a, <vs
   ret <vscale x 4 x i32> %abs
 }
 
+define <vscale x 8 x i16> @vwabda(<vscale x 8 x i16> %acc ,<vscale x 8 x i8> %a, <vscale x 8 x i8> %b) {
----------------
lukel97 wrote:

Nit 
```suggestion
define <vscale x 8 x i16> @vwabda(<vscale x 8 x i16> %acc, <vscale x 8 x i8> %a, <vscale x 8 x i8> %b) {
```

And on the other functions

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


More information about the llvm-commits mailing list