projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
R600/SI: Implement isLegalAddressingMode
[oota-llvm.git]
/
lib
/
Target
/
R600
/
SIISelLowering.h
diff --git
a/lib/Target/R600/SIISelLowering.h
b/lib/Target/R600/SIISelLowering.h
index cbc77a5cd789aec8e44e0d3b3ec5f97e0a7e58c3..2a9aa49491fa7ab4f43f86089dd7e83dba5244df 100644
(file)
--- a/
lib/Target/R600/SIISelLowering.h
+++ b/
lib/Target/R600/SIISelLowering.h
@@
-59,6
+59,10
@@
class SITargetLowering : public AMDGPUTargetLowering {
public:
SITargetLowering(TargetMachine &tm);
+
+ bool isLegalAddressingMode(const AddrMode &AM,
+ Type *Ty) const override;
+
bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS,
unsigned Align,
bool *IsFast) const override;