[llvm] 0d4f2de - [NFC][LoopDeletion] Autogenerate checlines in simplify-then-delete.ll test

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 22 14:37:25 PDT 2021


Author: Roman Lebedev
Date: 2021-07-23T00:36:59+03:00
New Revision: 0d4f2de30317d3726d7d69a7e896b7d600bf5067

URL: https://github.com/llvm/llvm-project/commit/0d4f2de30317d3726d7d69a7e896b7d600bf5067
DIFF: https://github.com/llvm/llvm-project/commit/0d4f2de30317d3726d7d69a7e896b7d600bf5067.diff

LOG: [NFC][LoopDeletion] Autogenerate checlines in simplify-then-delete.ll test

Added: 
    

Modified: 
    llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll b/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
index 294f610fa5155..5d68eb868d0dc 100644
--- a/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
+++ b/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
@@ -1,17 +1,17 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; RUN: opt < %s -S -indvars -loop-deletion -simplifycfg -simplifycfg-require-and-preserve-domtree=1 | FileCheck %s
 ; PR5794
 
 ; Indvars and loop deletion should be able to eliminate all looping
 ; in this testcase.
 
-; CHECK:      define i32 @pmat(i32 %m, i32 %n, double* %y) #0 {
-; CHECK-NEXT: entry:
-; CHECK-NEXT:   ret i32 0
-; CHECK-NEXT: }
-
 target datalayout = "e-p:64:64:64"
 
 define i32 @pmat(i32 %m, i32 %n, double* %y) nounwind {
+; CHECK-LABEL: @pmat(
+; CHECK-NEXT:  entry:
+; CHECK-NEXT:    ret i32 0
+;
 entry:
   %cmp4 = icmp sgt i32 %m, 0
   br i1 %cmp4, label %bb.n10, label %w.e12


        


More information about the llvm-commits mailing list