From 610df9c8906fba8e50e5ef37f838c9ee6415ee19 Mon Sep 17 00:00:00 2001 From: Artur Gainullin Date: Mon, 23 Oct 2017 13:25:49 +0000 Subject: [PATCH] Test commit. llvm-svn: 316322 --- llvm/test/Transforms/InstCombine/minmax-fold.ll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/test/Transforms/InstCombine/minmax-fold.ll b/llvm/test/Transforms/InstCombine/minmax-fold.ll index 0bf4719..f80e989 100644 --- a/llvm/test/Transforms/InstCombine/minmax-fold.ll +++ b/llvm/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.7.4