[llvm] 1388562 - [SimplifyCFG] branch-fold-threshold.ll - fix broken CHECKs

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 07:31:51 PDT 2024


Author: Simon Pilgrim
Date: 2024-06-03T15:31:32+01:00
New Revision: 138856292235e4c805f2616b56ac09be5017f355

URL: https://github.com/llvm/llvm-project/commit/138856292235e4c805f2616b56ac09be5017f355
DIFF: https://github.com/llvm/llvm-project/commit/138856292235e4c805f2616b56ac09be5017f355.diff

LOG: [SimplifyCFG] branch-fold-threshold.ll - fix broken CHECKs

Fix typos in AGGRESIVE-->AGGRESSIVE + WAYAGGRESIVE->WAYAGGRESSIVE

This also exposed an issue that the WAYAGGRESSIVE run removed a block entirely, so the LABEL check was silently failing.

Noticed while triaging the failures on #93673

Added: 
    

Modified: 
    llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll b/llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
index 5012b428bc8a8..712e9b1b6126b 100644
--- a/llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
+++ b/llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
@@ -67,8 +67,8 @@ lor.lhs.false:
   %cmp1 = icmp slt i32 %add, %b
   br i1 %cmp1, label %cond.false, label %cond.end
 ; NORMAL-LABEL: lor.lhs.false:
-; AGGRESIVE-LABEL: lor.lhs.false:
-; WAYAGGRESIVE-LABEL: lor.lhs.false:
+; AGGRESSIVE-LABEL: lor.lhs.false:
+; WAYAGGRESSIVE-LABEL-NOT: lor.lhs.false:
 ; NORMAL: br i1
 ; AGGRESSIVE: br i1
 ; WAYAGGRESSIVE-NOT: br i1


        


More information about the llvm-commits mailing list