[AArch64] Enable PostRAScheduler for AArch64 generic build.
[oota-llvm.git] / test / CodeGen / AArch64 / cond-sel.ll
index 333f24361336b79dd40a5a050d514d081b58aeb9..dfc83aacfcfcbe25a0d2a137ede081e2519b2519 100644 (file)
@@ -224,3 +224,10 @@ define <1 x i1> @test_wide_comparison(i32 %in) {
   %res = select i1 %tmp, <1 x i1> <i1 1>, <1 x i1> zeroinitializer
   ret <1 x i1> %res
 }
+
+define i32 @test_select_undef() {
+; CHECK-LABEL: test_select_undef:
+; CHECK: ret
+  %res = select i1 undef, i32 0, i32 42
+  ret i32 %res
+}