mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-13 08:35:46 +00:00
Return 0 instead of false.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f38aa4272c
commit
1c1c49372c
@ -2154,13 +2154,13 @@ unsigned X86FastISel::TargetMaterializeAlloca(const AllocaInst *C) {
|
||||
unsigned X86FastISel::TargetMaterializeFloatZero(const ConstantFP *CF) {
|
||||
MVT VT;
|
||||
if (!isTypeLegal(CF->getType(), VT))
|
||||
return false;
|
||||
return 0;
|
||||
|
||||
// Get opcode and regclass for the given zero.
|
||||
unsigned Opc = 0;
|
||||
const TargetRegisterClass *RC = NULL;
|
||||
switch (VT.SimpleTy) {
|
||||
default: return false;
|
||||
default: return 0;
|
||||
case MVT::f32:
|
||||
if (X86ScalarSSEf32) {
|
||||
Opc = X86::FsFLD0SS;
|
||||
@ -2181,7 +2181,7 @@ unsigned X86FastISel::TargetMaterializeFloatZero(const ConstantFP *CF) {
|
||||
break;
|
||||
case MVT::f80:
|
||||
// No f80 support yet.
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned ResultReg = createResultReg(RC);
|
||||
|
Loading…
x
Reference in New Issue
Block a user