Add a comment about the special meaning of VoidTy in this context.

llvm-svn: 71466
This commit is contained in:
Dan Gohman 2009-05-11 19:11:53 +00:00
parent 2060db5db5
commit e00e346c08

View File

@ -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;