mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-02 17:55:18 +00:00
Add a comment about the special meaning of VoidTy in this context.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71466 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f3be1a1fe
commit
20b7ca1eb9
@ -1381,6 +1381,8 @@ public:
|
|||||||
|
|
||||||
/// isLegalAddressingMode - Return true if the addressing mode represented by
|
/// isLegalAddressingMode - Return true if the addressing mode represented by
|
||||||
/// AM is legal for this target, for a load/store of the specified type.
|
/// 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.
|
/// TODO: Handle pre/postinc as well.
|
||||||
virtual bool isLegalAddressingMode(const AddrMode &AM, const Type *Ty) const;
|
virtual bool isLegalAddressingMode(const AddrMode &AM, const Type *Ty) const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user