1 ; RUN: opt < %s -instcombine -S | FileCheck %s
6 define <4 x i32> @a(<1 x i64> %y) {
7 %c = bitcast <2 x i64> <i64 0, i64 0> to <4 x i32>
15 define <4 x i32> @b(<1 x i64> %y) {
16 %c = bitcast <2 x i64> <i64 -1, i64 -1> to <4 x i32>
24 ; from MultiSource/Benchmarks/Bullet
25 define <2 x float> @foo() {
26 %cast = bitcast i64 -1 to <2 x float>
34 define <2 x double> @foo2() {
35 %cast = bitcast i128 -1 to <2 x double>
36 ret <2 x double> %cast
42 define <1 x float> @foo3() {
43 %cast = bitcast i32 -1 to <1 x float>
50 define float @foo4() {
51 %cast = bitcast <1 x i32 ><i32 -1> to float
58 define double @foo5() {
59 %cast = bitcast <2 x i32 ><i32 -1, i32 -1> to double
67 define <2 x double> @foo6() {
68 %cast = bitcast <4 x i32><i32 -1, i32 -1, i32 -1, i32 -1> to <2 x double>
69 ret <2 x double> %cast