From 138856292235e4c805f2616b56ac09be5017f355 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 3 Jun 2024 15:31:15 +0100 Subject: [PATCH] [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 --- llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll b/llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll index 5012b428bc8a8b..712e9b1b6126bd 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