diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:41:05 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:41:05 +0000 |
commit | 01095a5d43bbfde13731688ddcf6048ebb8b7721 (patch) | |
tree | 4def12e759965de927d963ac65840d663ef9d1ea /test/Transforms/SCCP/bitcast.ll | |
parent | f0f4822ed4b66e3579e92a89f368f8fb860e218e (diff) |
Vendor import of llvm release_39 branch r276489:vendor/llvm/llvm-release_39-r276489
Diffstat (limited to 'test/Transforms/SCCP/bitcast.ll')
-rw-r--r-- | test/Transforms/SCCP/bitcast.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/SCCP/bitcast.ll b/test/Transforms/SCCP/bitcast.ll new file mode 100644 index 000000000000..285823512e57 --- /dev/null +++ b/test/Transforms/SCCP/bitcast.ll @@ -0,0 +1,9 @@ +; RUN: opt < %s -ipsccp -S | FileCheck %s + +define i128 @vector_to_int_cast() { + %A = bitcast <4 x i32> <i32 1073741824, i32 1073741824, i32 1073741824, i32 1073741824> to i128 + ret i128 %A +} + +; CHECK: define i128 @vector_to_int_cast( +; CHECK-NEXT: ret i128 85070591750041656499021422275829170176 |