diff options
Diffstat (limited to 'test/Bitcode/select.ll')
| -rw-r--r-- | test/Bitcode/select.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Bitcode/select.ll b/test/Bitcode/select.ll index 3ad06796dccf..666d2960fb5f 100644 --- a/test/Bitcode/select.ll +++ b/test/Bitcode/select.ll @@ -8,3 +8,11 @@ define <2 x i32> @main() { ; CHECK: define <2 x i32> @main() { ; CHECK: ret <2 x i32> <i32 0, i32 undef> ; CHECK: } + +define <2 x float> @f() { + ret <2 x float> select (i1 ptrtoint (<2 x float> ()* @f to i1), <2 x float> <float 1.000000e+00, float 0.000000e+00>, <2 x float> zeroinitializer) +} + +; CHECK: define <2 x float> @f() { +; CHECK: ret <2 x float> select (i1 ptrtoint (<2 x float> ()* @f to i1), <2 x float> <float 1.000000e+00, float 0.000000e+00>, <2 x float> zeroinitializer) +; CHECK: } |
