[llvm] 5e33bd8 - [RISCV] Remove tab character from test. Autogenerate CHECK lines. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 25 11:45:41 PST 2022


Author: Craig Topper
Date: 2022-02-25T11:37:27-08:00
New Revision: 5e33bd804b74a84c7c0752693b3347bb52be8611

URL: https://github.com/llvm/llvm-project/commit/5e33bd804b74a84c7c0752693b3347bb52be8611
DIFF: https://github.com/llvm/llvm-project/commit/5e33bd804b74a84c7c0752693b3347bb52be8611.diff

LOG: [RISCV] Remove tab character from test. Autogenerate CHECK lines. NFC

This was a test for an infinite loop so the CHECK lines don't really
matter, but they'd get generated the next time someone runs the script
on the file so might as well do it while I'm touching it.

Added: 
    

Modified: 
    llvm/test/CodeGen/RISCV/addimm-mulimm.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/RISCV/addimm-mulimm.ll b/llvm/test/CodeGen/RISCV/addimm-mulimm.ll
index adf0b98742e1b..86b1a5ff0a3d4 100644
--- a/llvm/test/CodeGen/RISCV/addimm-mulimm.ll
+++ b/llvm/test/CodeGen/RISCV/addimm-mulimm.ll
@@ -877,11 +877,20 @@ define i64 @mulneg3000_sub8990_c(i64 %x) {
 ; performed in RISCVISelLowering;:transformAddImmMulImm and
 ; DAGCombiner::visitMUL.
 define i1 @pr53831(i32 %x) {
+; RV32IMB-LABEL: pr53831:
+; RV32IMB:       # %bb.0:
+; RV32IMB-NEXT:    li a0, 0
+; RV32IMB-NEXT:    ret
+;
+; RV64IMB-LABEL: pr53831:
+; RV64IMB:       # %bb.0:
+; RV64IMB-NEXT:    li a0, 0
+; RV64IMB-NEXT:    ret
   %tmp0 = add i32 %x, 1
   %tmp1 = mul i32 %tmp0, 24
   %tmp2 = add i32 %tmp1, 1
   %tmp3 = mul i32 %x, 24
   %tmp4 = add i32 %tmp3, 2048
   %tmp5 = icmp eq i32 %tmp4, %tmp2
-	ret i1 %tmp5
+  ret i1 %tmp5
 }


        


More information about the llvm-commits mailing list