From: Artur Gainullin Date: Mon, 23 Oct 2017 13:25:49 +0000 (+0000) Subject: Test commit. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d639dd5bd3d953130b9ca4ebb36bc4f44c1b3cc;p=llvm Test commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316322 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/minmax-fold.ll b/test/Transforms/InstCombine/minmax-fold.ll index 0bf4719636d..f80e989bcbd 100644 --- a/test/Transforms/InstCombine/minmax-fold.ll +++ b/test/Transforms/InstCombine/minmax-fold.ll @@ -690,6 +690,7 @@ define <8 x float> @bitcast_vector_umin(<8 x float> %x, <8 x float> %y) { } ; Check that we look through cast and recognize min idiom. + define zeroext i8 @look_through_cast1(i32 %x) { ; CHECK-LABEL: @look_through_cast1( ; CHECK-NEXT: [[TMP1:%.*]] = icmp slt i32 [[X:%.*]], 511 @@ -704,6 +705,7 @@ define zeroext i8 @look_through_cast1(i32 %x) { } ; Check that we look through cast but min is not recognized. + define zeroext i8 @look_through_cast2(i32 %x) { ; CHECK-LABEL: @look_through_cast2( ; CHECK-NEXT: [[CMP1:%.*]] = icmp slt i32 [[X:%.*]], 510