Set REQUIRES shell on the test cases for r186044
[oota-llvm.git] / test / CodeGen / Generic / select.ll
index 63052c1a28453de07a890768db055876339639d3..77636eb6e615d16677d74a354318e4f29d1284af 100644 (file)
@@ -185,3 +185,11 @@ define i32 @checkFoldGEP(%Domain* %D, i64 %idx) {
         ret i32 %reg820
 }
 
+; Test case for scalarising a 1 element vselect
+;
+define <1 x i32> @checkScalariseVSELECT(<1 x i32> %a, <1 x i32> %b) {
+        %cond = icmp uge <1 x i32> %a, %b
+        %s = select <1 x i1> %cond, <1 x i32> %a, <1 x i32> %b
+        ret <1 x i32> %s
+}
+