projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f3be1a
)
Add a comment about the special meaning of VoidTy in this context.
author
Dan Gohman
<gohman@apple.com>
Mon, 11 May 2009 19:11:53 +0000
(19:11 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 11 May 2009 19:11:53 +0000
(19:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71466
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetLowering.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetLowering.h
b/include/llvm/Target/TargetLowering.h
index 624f9fc72ce4f8b5b66259e1f33e131038be6c6d..dcff47d24bc18fb0d624cdbc0df2a135978b0f80 100644
(file)
--- a/
include/llvm/Target/TargetLowering.h
+++ b/
include/llvm/Target/TargetLowering.h
@@
-1381,6
+1381,8
@@
public:
/// isLegalAddressingMode - Return true if the addressing mode represented by
/// AM is legal for this target, for a load/store of the specified type.
+ /// The type may be VoidTy, in which case only return true if the addressing
+ /// mode is legal for a load/store of any legal type.
/// TODO: Handle pre/postinc as well.
virtual bool isLegalAddressingMode(const AddrMode &AM, const Type *Ty) const;