mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Noticed by inspection when looking for other cmov bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115100 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
235859d66c
commit
e487b017e9
@ -1194,6 +1194,9 @@ bool X86FastISel::X86SelectSelect(const Instruction *I) {
|
||||
if (VT == MVT::Other || !isTypeLegal(I->getType(), VT))
|
||||
return false;
|
||||
|
||||
// We only use cmov here, if we don't have a cmov instruction bail.
|
||||
if (!Subtarget->hasCMov()) return false;
|
||||
|
||||
unsigned Opc = 0;
|
||||
const TargetRegisterClass *RC = NULL;
|
||||
if (VT.getSimpleVT() == MVT::i16) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user