[llvm] [RISCV][GlobalISel] Vector Extension vadd Legalizer (PR #71400)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 11:06:06 PST 2023


================
@@ -3,16 +3,56 @@
 # RUN: | FileCheck %s
 
 ---
-name:		test_vadd
+name:		test_nxv1s8
 body:		 |
   bb.0.entry:
-    ; CHECK-LABEL: name: test_vadd
-    ; CHECK: [[COPY:%[0-9]+]]:_(<vscale x 1 x s32>) = COPY $v8
-    ; CHECK: [[COPY1:%[0-9]+]]:_(<vscale x 1 x s32>) = COPY $v9
-    ; CHECK-NEXT: [[VADD:%[0-9]+]]:_(<vscale 1 x s32>) = G_ADD [[COPY]], [[COPY1]]
-    ; CHECK-NEXT: PseudoRET implicit VADD
+    %0:_(<vscale x 1 x s8>) = COPY $v8
----------------
michaelmaitland wrote:

They should have test checks. Can you investigate what is needed so that test checks are generated for all test cases in the test file?

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


More information about the llvm-commits mailing list