diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-27 21:43:38 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-27 21:43:38 +0000 |
| commit | fa8ab0ab6d0aabf5538a6cb7a2d823e94a0c48ce (patch) | |
| tree | 649dc6844e94d8107c2f029513c14cf7b049a722 /llvm/lib/Target/TargetInstrInfo.cpp | |
| parent | 28f75c21406ef4086ceea0fdcca875b38230d90d (diff) | |
| download | bcm5719-llvm-fa8ab0ab6d0aabf5538a6cb7a2d823e94a0c48ce.tar.gz bcm5719-llvm-fa8ab0ab6d0aabf5538a6cb7a2d823e94a0c48ce.zip | |
ConstantTypeMustBeLoaded has been incorporated into SparcV9PreSelection, its
only user.
llvm-svn: 15294
Diffstat (limited to 'llvm/lib/Target/TargetInstrInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/TargetInstrInfo.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/TargetInstrInfo.cpp b/llvm/lib/Target/TargetInstrInfo.cpp index efcf9db4eb7..65324988603 100644 --- a/llvm/lib/Target/TargetInstrInfo.cpp +++ b/llvm/lib/Target/TargetInstrInfo.cpp @@ -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 |

