projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make isLegalAddressingMode() taking DataLayout as an argument
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMISelLowering.h
diff --git
a/lib/Target/ARM/ARMISelLowering.h
b/lib/Target/ARM/ARMISelLowering.h
index 03933814cf75e3a1c206706dcb6df3ff8af7adce..b1314ef703df070f4b2e3bbc9748587519b36e42 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.h
+++ b/
lib/Target/ARM/ARMISelLowering.h
@@
-287,8
+287,8
@@
namespace llvm {
/// isLegalAddressingMode - Return true if the addressing mode represented
/// by AM is legal for this target, for a load/store of the specified type.
/// isLegalAddressingMode - Return true if the addressing mode represented
/// by AM is legal for this target, for a load/store of the specified type.
- bool isLegalAddressingMode(const
AddrMode &AM, Type *Ty
,
- unsigned AS) const override;
+ bool isLegalAddressingMode(const
DataLayout &DL, const AddrMode &AM
,
+
Type *Ty,
unsigned AS) const override;
bool isLegalT2ScaledAddressingMode(const AddrMode &AM, EVT VT) const;
/// isLegalICmpImmediate - Return true if the specified immediate is legal
bool isLegalT2ScaledAddressingMode(const AddrMode &AM, EVT VT) const;
/// isLegalICmpImmediate - Return true if the specified immediate is legal