[llvm-commits] [llvm] r71466 - /llvm/trunk/include/llvm/Target/TargetLowering.h

Dan Gohman gohman at apple.com
Mon May 11 12:11:54 PDT 2009


Author: djg
Date: Mon May 11 14:11:53 2009
New Revision: 71466

URL: http://llvm.org/viewvc/llvm-project?rev=71466&view=rev
Log:
Add a comment about the special meaning of VoidTy in this context.

Modified:
    llvm/trunk/include/llvm/Target/TargetLowering.h

Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=71466&r1=71465&r2=71466&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Mon May 11 14:11:53 2009
@@ -1381,6 +1381,8 @@
   
   /// 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;
 





More information about the llvm-commits mailing list