[llvm] 93b9b7c - [RISCV] Add CHECK lines for test added in 7840fa9. NFC

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 21:38:13 PDT 2024


Author: Luke Lau
Date: 2024-05-01T12:38:01+08:00
New Revision: 93b9b7c4c1f6c6c1887763daccaa439b2a3b4d5f

URL: https://github.com/llvm/llvm-project/commit/93b9b7c4c1f6c6c1887763daccaa439b2a3b4d5f
DIFF: https://github.com/llvm/llvm-project/commit/93b9b7c4c1f6c6c1887763daccaa439b2a3b4d5f.diff

LOG: [RISCV] Add CHECK lines for test added in 7840fa9. NFC

Added: 
    

Modified: 
    llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir b/llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
index 16c4a1a0a89ec2..479a356473e12d 100644
--- a/llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
+++ b/llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
@@ -1048,6 +1048,18 @@ body:             |
 ---
 name: pre_undemanded_vl
 body: |
+  ; CHECK-LABEL: name: pre_undemanded_vl
+  ; CHECK: bb.0:
+  ; CHECK-NEXT:   successors: %bb.1(0x80000000)
+  ; CHECK-NEXT: {{  $}}
+  ; CHECK-NEXT:   PseudoBR %bb.1
+  ; CHECK-NEXT: {{  $}}
+  ; CHECK-NEXT: bb.1:
+  ; CHECK-NEXT:   successors: %bb.1(0x80000000)
+  ; CHECK-NEXT: {{  $}}
+  ; CHECK-NEXT:   dead $x0 = PseudoVSETIVLI 1, 216 /* e64, m1, ta, ma */, implicit-def $vl, implicit-def $vtype
+  ; CHECK-NEXT:   %x:gpr = PseudoVMV_X_S undef $noreg, 6 /* e64 */, implicit $vtype
+  ; CHECK-NEXT:   PseudoBR %bb.1
   bb.0:
     PseudoBR %bb.1
   bb.1:


        


More information about the llvm-commits mailing list