[llvm] 43414e7 - [DFAJumpThreading][NFC] Reduce tests
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 15 20:25:31 PST 2024
Author: XChy
Date: 2024-01-16T12:25:08+08:00
New Revision: 43414e736cd122032c07d60ca990655733e52a89
URL: https://github.com/llvm/llvm-project/commit/43414e736cd122032c07d60ca990655733e52a89
DIFF: https://github.com/llvm/llvm-project/commit/43414e736cd122032c07d60ca990655733e52a89.diff
LOG: [DFAJumpThreading][NFC] Reduce tests
Added:
Modified:
llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll b/llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll
index 7cc82386aa1714d..72a37802d888f88 100644
--- a/llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll
+++ b/llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll
@@ -233,14 +233,12 @@ exit:
ret i32 0
}
-define void @pr78059_bitwidth(i1 %c) {
+define void @pr78059_bitwidth() {
; CHECK-LABEL: @pr78059_bitwidth(
-; CHECK-NEXT: entry:
-; CHECK-NEXT: br i1 [[C:%.*]], label [[DOTSPLIT_PREHEADER:%.*]], label [[DOTSPLIT_PREHEADER]]
-; CHECK: .split.preheader:
+; CHECK-NEXT: .split.preheader:
; CHECK-NEXT: br label [[DOTSPLIT:%.*]]
; CHECK: .split:
-; CHECK-NEXT: [[TMP0:%.*]] = phi i128 [ 0, [[DOTSPLIT_PREHEADER]] ]
+; CHECK-NEXT: [[TMP0:%.*]] = phi i128 [ 0, [[DOTSPLIT_PREHEADER:%.*]] ]
; CHECK-NEXT: switch i128 [[TMP0]], label [[END:%.*]] [
; CHECK-NEXT: i128 -1, label [[END]]
; CHECK-NEXT: i128 0, label [[DOTSPLIT_JT18446744073709551615:%.*]]
@@ -251,9 +249,6 @@ define void @pr78059_bitwidth(i1 %c) {
; CHECK: end:
; CHECK-NEXT: ret void
;
-entry:
- br i1 %c, label %.split.preheader, label %.split.preheader
-
.split.preheader:
br label %.split
@@ -268,14 +263,12 @@ end:
ret void
}
-define void @self-reference(i1 %c) {
+define void @self-reference() {
; CHECK-LABEL: @self-reference(
-; CHECK-NEXT: entry:
-; CHECK-NEXT: br i1 [[C:%.*]], label [[DOTSPLIT_PREHEADER:%.*]], label [[DOTSPLIT_PREHEADER]]
-; CHECK: .split.preheader:
+; CHECK-NEXT: .split.preheader:
; CHECK-NEXT: br label [[DOTSPLIT:%.*]]
; CHECK: .split:
-; CHECK-NEXT: [[TMP0:%.*]] = phi i32 [ 0, [[DOTSPLIT_PREHEADER]] ]
+; CHECK-NEXT: [[TMP0:%.*]] = phi i32 [ 0, [[DOTSPLIT_PREHEADER:%.*]] ]
; CHECK-NEXT: switch i32 [[TMP0]], label [[END:%.*]] [
; CHECK-NEXT: i32 -1, label [[END]]
; CHECK-NEXT: i32 0, label [[DOTSPLIT_JT4294967295:%.*]]
@@ -286,9 +279,6 @@ define void @self-reference(i1 %c) {
; CHECK: end:
; CHECK-NEXT: ret void
;
-entry:
- br i1 %c, label %.split.preheader, label %.split.preheader
-
.split.preheader:
br label %.split
More information about the llvm-commits
mailing list