Fix 9173.
[oota-llvm.git] / test / Transforms / InstCombine / bitcast-vec-uniform.ll
1 ; RUN: opt < %s -instcombine -S | not grep bitcast
2
3 define <4 x i32> @a(<1 x i64> %y) {
4   %c = bitcast <2 x i64> <i64 0, i64 0> to <4 x i32>
5   ret <4 x i32> %c
6 }
7
8 define <4 x i32> @b(<1 x i64> %y) {
9   %c = bitcast <2 x i64> <i64 -1, i64 -1> to <4 x i32>
10   ret <4 x i32> %c
11 }
12
13
14