mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
ConstantTypeMustBeLoaded has been incorporated into SparcV9PreSelection, its
only user. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15294 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -56,9 +56,4 @@ bool TargetInstrInfo::constantFitsInImmedField(MachineOpCode opCode,
|
||||
return false;
|
||||
}
|
||||
|
||||
bool TargetInstrInfo::ConstantTypeMustBeLoaded(const Constant* CV) const {
|
||||
assert(CV->getType()->isPrimitiveType() || isa<PointerType>(CV->getType()));
|
||||
return !(CV->getType()->isIntegral() || isa<PointerType>(CV->getType()));
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
Reference in New Issue
Block a user