diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/select_const.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/select_const.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/select_const.ll b/llvm/test/CodeGen/X86/select_const.ll index 68c83391e60..53230e8835e 100644 --- a/llvm/test/CodeGen/X86/select_const.ll +++ b/llvm/test/CodeGen/X86/select_const.ll @@ -503,3 +503,11 @@ define i64 @opaque_constant(i1 %cond, i64 %x) { ret i64 %add } +define float @select_undef_fp(float %x) { +; CHECK-LABEL: select_undef_fp: +; CHECK: # %bb.0: +; CHECK-NEXT: retq + %f = select i1 undef, float 4.0, float %x + ret float %f +} + |