diff options
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll')
| -rw-r--r-- | llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll b/llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll index c8c390ea6be..608c95688f3 100644 --- a/llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll +++ b/llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll @@ -74,6 +74,14 @@ define <4 x i32> @test9(<1 x i64> %y) { ret <4 x i32> %c } +define <1 x i1> @test10() { +; CHECK-LABEL: @test10( +; CHECK-NEXT: ret <1 x i1> <i1 icmp eq (i64 bitcast (<1 x double> <double 0xFFFFFFFFFFFFFFFF> to i64), i64 0)> +; + %ret = icmp eq <1 x i64> <i64 bitcast (<1 x double> <double 0xFFFFFFFFFFFFFFFF> to i64)>, zeroinitializer + ret <1 x i1> %ret +} + ; from MultiSource/Benchmarks/Bullet define <2 x float> @foo() { ; CHECK-LABEL: @foo( |

