From: Sanjay Patel Date: Fri, 14 Sep 2018 17:53:44 +0000 (+0000) Subject: [InstCombine] regenerate test checks; NFC X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7ba0ac0b522563b7021fe13f22bff487bb7737f;p=platform%2Fupstream%2Fllvm.git [InstCombine] regenerate test checks; NFC There was a bug in a check line regex that could cause the test to fail with a naming difference. The auto-gen script seems to work as expected now. llvm-svn: 342249 --- diff --git a/llvm/test/Transforms/InstCombine/sink-zext.ll b/llvm/test/Transforms/InstCombine/sink-zext.ll index 1187235..c03c660 100644 --- a/llvm/test/Transforms/InstCombine/sink-zext.ll +++ b/llvm/test/Transforms/InstCombine/sink-zext.ll @@ -11,7 +11,7 @@ define i64 @test1(i32 %V) { ; CHECK-NEXT: [[CALL1:%.*]] = call i32 @callee(), !range !0 ; CHECK-NEXT: [[CALL2:%.*]] = call i32 @callee(), !range !0 ; CHECK-NEXT: [[ADDCONV:%.*]] = add nuw nsw i32 [[CALL1]], [[CALL2]] -; CHECK-NEXT: [[ADD:%.*]] = zext i32 [[ADD:%.*]]conv to i64 +; CHECK-NEXT: [[ADD:%.*]] = zext i32 [[ADDCONV]] to i64 ; CHECK-NEXT: ret i64 [[ADD]] ; %call1 = call i32 @callee(), !range !0 @@ -27,8 +27,8 @@ define i64 @test2(i32 %V) { ; CHECK-NEXT: [[CALL1:%.*]] = call i32 @callee(), !range !0 ; CHECK-NEXT: [[CALL2:%.*]] = call i32 @callee(), !range !0 ; CHECK-NEXT: [[ADD:%.*]] = add nuw nsw i32 [[CALL1]], [[CALL2]] -; CHECK-NEXT: [[ZEXT1:%.*]] = zext i32 [[ADD]] to i64 -; CHECK-NEXT: ret i64 [[ZEXT1]] +; CHECK-NEXT: [[TMP1:%.*]] = zext i32 [[ADD]] to i64 +; CHECK-NEXT: ret i64 [[TMP1]] ; %call1 = call i32 @callee(), !range !0 %call2 = call i32 @callee(), !range !0 @@ -58,8 +58,8 @@ define i64 @test4(i32 %V) { ; CHECK-NEXT: [[CALL1:%.*]] = call i32 @callee(), !range !0 ; CHECK-NEXT: [[CALL2:%.*]] = call i32 @callee(), !range !0 ; CHECK-NEXT: [[ADD:%.*]] = mul nuw nsw i32 [[CALL1]], [[CALL2]] -; CHECK-NEXT: [[ZEXT1:%.*]] = zext i32 [[ADD]] to i64 -; CHECK-NEXT: ret i64 [[ZEXT1]] +; CHECK-NEXT: [[TMP1:%.*]] = zext i32 [[ADD]] to i64 +; CHECK-NEXT: ret i64 [[TMP1]] ; %call1 = call i32 @callee(), !range !0 %call2 = call i32 @callee(), !range !0