diff options
Diffstat (limited to 'lib/CodeGen/TargetLoweringBase.cpp')
| -rw-r--r-- | lib/CodeGen/TargetLoweringBase.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/CodeGen/TargetLoweringBase.cpp b/lib/CodeGen/TargetLoweringBase.cpp index b7f1db6529f70..1bc89aa2271d4 100644 --- a/lib/CodeGen/TargetLoweringBase.cpp +++ b/lib/CodeGen/TargetLoweringBase.cpp @@ -1632,7 +1632,8 @@ TargetLoweringBase::getTypeLegalizationCost(Type *Ty) const {  /// isLegalAddressingMode - Return true if the addressing mode represented  /// by AM is legal for this target, for a load/store of the specified type.  bool TargetLoweringBase::isLegalAddressingMode(const AddrMode &AM, -                                           Type *Ty) const { +                                               Type *Ty, +                                               unsigned AS) const {    // The default implementation of this implements a conservative RISCy, r+r and    // r+i addr mode. | 
