[X86] Don't bother avoiding illegal FCMOVs if we don't have the cmov subtarget feature.
authorCraig Topper <craig.topper@gmail.com>
Fri, 21 Feb 2020 08:29:18 +0000 (00:29 -0800)
committerCraig Topper <craig.topper@gmail.com>
Fri, 21 Feb 2020 08:34:15 +0000 (00:34 -0800)
commit97f11600e0b87b69b01412af8df4fc37af652fce
treefff60ff149d0878e5c07ebc01cd183a9da2caeac
parent263bef2bbcb0b3bad1f9113a638d6e6c92920a6b
[X86] Don't bother avoiding illegal FCMOVs if we don't have the cmov subtarget feature.

We'll be forced to emit branches so we might as well use the most
direct condition.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/cmov-fp.ll
llvm/test/CodeGen/X86/pseudo_cmov_lower.ll