Skip to content

Commit

Permalink
[SimplifyCFG] branch-fold-threshold.ll - fix broken CHECKs
Browse files Browse the repository at this point in the history
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 llvm#93673
  • Loading branch information
RKSimon committed Jun 3, 2024
1 parent 0e62d5c commit 1388562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1388562

Please sign in to comment.