[llvm-branch-commits] [llvm] 0e11f3a - [NFC][InstCombine] Autogenerate sext.ll test checklines
Roman Lebedev via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Dec 1 04:19:56 PST 2020
Author: Roman Lebedev
Date: 2020-12-01T15:13:06+03:00
New Revision: 0e11f3ade5eaa5ef7fe87014edd3abc708807aba
URL: https://github.com/llvm/llvm-project/commit/0e11f3ade5eaa5ef7fe87014edd3abc708807aba
DIFF: https://github.com/llvm/llvm-project/commit/0e11f3ade5eaa5ef7fe87014edd3abc708807aba.diff
LOG: [NFC][InstCombine] Autogenerate sext.ll test checklines
Added:
Modified:
llvm/test/Transforms/InstCombine/sext.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/InstCombine/sext.ll b/llvm/test/Transforms/InstCombine/sext.ll
index a85c2ece15b0..55f8217e903e 100644
--- a/llvm/test/Transforms/InstCombine/sext.ll
+++ b/llvm/test/Transforms/InstCombine/sext.ll
@@ -9,7 +9,7 @@ declare i32 @llvm.cttz.i32(i32, i1)
define i64 @test1(i32 %x) {
; CHECK-LABEL: @test1(
-; CHECK-NEXT: [[T:%.*]] = call i32 @llvm.ctpop.i32(i32 [[X:%.*]]), !range !0
+; CHECK-NEXT: [[T:%.*]] = call i32 @llvm.ctpop.i32(i32 [[X:%.*]]), [[RNG0:!range !.*]]
; CHECK-NEXT: [[S:%.*]] = zext i32 [[T]] to i64
; CHECK-NEXT: ret i64 [[S]]
;
@@ -20,7 +20,7 @@ define i64 @test1(i32 %x) {
define i64 @test2(i32 %x) {
; CHECK-LABEL: @test2(
-; CHECK-NEXT: [[T:%.*]] = call i32 @llvm.ctlz.i32(i32 [[X:%.*]], i1 true), !range !0
+; CHECK-NEXT: [[T:%.*]] = call i32 @llvm.ctlz.i32(i32 [[X:%.*]], i1 true), [[RNG0]]
; CHECK-NEXT: [[S:%.*]] = zext i32 [[T]] to i64
; CHECK-NEXT: ret i64 [[S]]
;
@@ -31,7 +31,7 @@ define i64 @test2(i32 %x) {
define i64 @test3(i32 %x) {
; CHECK-LABEL: @test3(
-; CHECK-NEXT: [[T:%.*]] = call i32 @llvm.cttz.i32(i32 [[X:%.*]], i1 true), !range !0
+; CHECK-NEXT: [[T:%.*]] = call i32 @llvm.cttz.i32(i32 [[X:%.*]], i1 true), [[RNG0]]
; CHECK-NEXT: [[S:%.*]] = zext i32 [[T]] to i64
; CHECK-NEXT: ret i64 [[S]]
;
@@ -105,11 +105,11 @@ define i32 @test8(i8 %a, i32 %f, i1 %p, i32* %z) {
define i16 @test9(i16 %t, i1 %cond) {
; CHECK-LABEL: @test9(
; CHECK-NEXT: entry:
-; CHECK-NEXT: br i1 %cond, label %T, label %F
+; CHECK-NEXT: br i1 [[COND:%.*]], label [[T:%.*]], label [[F:%.*]]
; CHECK: T:
-; CHECK-NEXT: br label %F
+; CHECK-NEXT: br label [[F]]
; CHECK: F:
-; CHECK-NEXT: [[V_OFF0:%.*]] = phi i16 [ %t, %T ], [ 42, %entry ]
+; CHECK-NEXT: [[V_OFF0:%.*]] = phi i16 [ [[T:%.*]], [[T]] ], [ 42, [[ENTRY:%.*]] ]
; CHECK-NEXT: ret i16 [[V_OFF0]]
;
entry:
More information about the llvm-branch-commits
mailing list