diff options
author | Artur Gainullin <artur.gainullin@intel.com> | 2017-10-23 13:25:49 +0000 |
---|---|---|
committer | Artur Gainullin <artur.gainullin@intel.com> | 2017-10-23 13:25:49 +0000 |
commit | 610df9c8906fba8e50e5ef37f838c9ee6415ee19 (patch) | |
tree | 76d5dcefbe3f1cd612f2165de58db7656fde8ee4 | |
parent | 7fc298afe4946ea5b9740d30a641ff3260967530 (diff) | |
download | bcm5719-llvm-610df9c8906fba8e50e5ef37f838c9ee6415ee19.tar.gz bcm5719-llvm-610df9c8906fba8e50e5ef37f838c9ee6415ee19.zip |
Test commit.
llvm-svn: 316322
-rw-r--r-- | llvm/test/Transforms/InstCombine/minmax-fold.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstCombine/minmax-fold.ll b/llvm/test/Transforms/InstCombine/minmax-fold.ll index 0bf4719636d..f80e989bcbd 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 |