X86: fcmov doesn't handle all possible EFLAGS, fall back to a branch for the others.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 7 Oct 2012 15:34:27 +0000 (15:34 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 7 Oct 2012 15:34:27 +0000 (15:34 +0000)
commitdcf2420b0787f43ff03485d7f4c7422047106eac
treeb72556637430073284d09dc94ca0e4187248f9b4
parentb10c88f175a9aca5a56f6b258466c1b8efe643bf
X86: fcmov doesn't handle all possible EFLAGS, fall back to a branch for the others.

Otherwise it will try to use SSE patterns and fail horribly if sse is disabled.
Fixes PR14035.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165377 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrCompiler.td
test/CodeGen/X86/cmov-fp.ll [new file with mode: 0644]