; Test that vectors are scalarized/lowered correctly.
; RUN: llc < %s
-; XFAIL: hexagon
%d8 = type <8 x double>
%f1 = type <1 x float>
%w = getelementptr [3 x {i32, i32}], <2 x [3 x {i32, i32}]*> %a, <2 x i32> <i32 1, i32 2>, <2 x i32> <i32 2, i32 3>, <2 x i32> <i32 1, i32 1>
ret <2 x i32*> %w
}
+
+define i32 @extractelt_constant_bitcast() {
+ %1 = bitcast i64 4 to <2 x i32>
+ %2 = extractelement <2 x i32> %1, i32 0
+ ret i32 %2
+}