[llvm] 608cf17 - [InstCombine][NFC] Rename check run label

Piotr Sobczak via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 01:34:51 PDT 2023


Author: Piotr Sobczak
Date: 2023-07-12T10:27:54+02:00
New Revision: 608cf17b734b922e4b3f4d127b1e768d1a71ff68

URL: https://github.com/llvm/llvm-project/commit/608cf17b734b922e4b3f4d127b1e768d1a71ff68
DIFF: https://github.com/llvm/llvm-project/commit/608cf17b734b922e4b3f4d127b1e768d1a71ff68.diff

LOG: [InstCombine][NFC] Rename check run label

The existing check run label "DEFAULT" may clash with
the label from switch "DEFAULT", so renaming it for clarity.

Differential Revision: https://reviews.llvm.org/D154825

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/unreachable-code.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/unreachable-code.ll b/llvm/test/Transforms/InstCombine/unreachable-code.ll
index a00f13878d2006..068ff72cde1c3f 100644
--- a/llvm/test/Transforms/InstCombine/unreachable-code.ll
+++ b/llvm/test/Transforms/InstCombine/unreachable-code.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
-; RUN: opt -S -passes=instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s --check-prefixes=CHECK,DEFAULT
+; RUN: opt -S -passes=instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s --check-prefixes=CHECK,DEFAULT_ITER
 ; RUN: opt -S -passes='instcombine<max-iterations=1>' < %s | FileCheck %s --check-prefixes=CHECK,MAX1
 
 declare void @dummy()
@@ -272,5 +272,5 @@ exit:
   ret void
 }
 ;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
-; DEFAULT: {{.*}}
+; DEFAULT_ITER: {{.*}}
 ; MAX1: {{.*}}


        


More information about the llvm-commits mailing list