Set REQUIRES shell on the test cases for r186044
[oota-llvm.git] / test / CodeGen / Generic / vector.ll
index a0f9a02d4cbbefeb7f320effe04abc1e8adc703f..bc7c7d00a11c03638c7912cefdba64899bd0313d 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that vectors are scalarized/lowered correctly.
 ; RUN: llc < %s
-
+; XFAIL: hexagon
 
 %d8 = type <8 x double>
 %f1 = type <1 x float>
@@ -152,3 +152,8 @@ define void @splat_i4(%i4* %P, %i4* %Q, i32 %X) {
        store %i4 %R, %i4* %P
        ret void
 }
+
+define <2 x i32*> @vector_gep(<2 x [3 x {i32, i32}]*> %a) {
+    %w = getelementptr <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
+}