From 9d639dd5bd3d953130b9ca4ebb36bc4f44c1b3cc Mon Sep 17 00:00:00 2001 From: Artur Gainullin Date: Mon, 23 Oct 2017 13:25:49 +0000 Subject: [PATCH] Test commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316322 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/minmax-fold.ll | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0