[llvm-commits] [dragonegg] r129460 - /dragonegg/trunk/src/Convert.cpp

Duncan Sands baldrick at free.fr
Wed Apr 13 12:14:46 PDT 2011


Author: baldrick
Date: Wed Apr 13 14:14:46 2011
New Revision: 129460

URL: http://llvm.org/viewvc/llvm-project?rev=129460&view=rev
Log:
Add a description of what TARGET_MEM_REF computes.

Modified:
    dragonegg/trunk/src/Convert.cpp

Modified: dragonegg/trunk/src/Convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Convert.cpp?rev=129460&r1=129459&r2=129460&view=diff
==============================================================================
--- dragonegg/trunk/src/Convert.cpp (original)
+++ dragonegg/trunk/src/Convert.cpp Wed Apr 13 14:14:46 2011
@@ -5791,6 +5791,8 @@
 LValue TreeToLLVM::EmitLV_TARGET_MEM_REF(tree exp) {
   // TODO: Take the address space into account.
   // TODO: Improve the alignment estimate.
+
+  // The address is &symbol + base + index * step + offset.
   struct mem_address addr;
   get_address_description (exp, &addr);
 





More information about the llvm-commits mailing list