[llvm-commits] [llvm] r87016 - /llvm/trunk/include/llvm/CodeGen/AsmPrinter.h

David Greene greened at obbligato.org
Thu Nov 12 12:13:43 PST 2009


Author: greened
Date: Thu Nov 12 14:13:34 2009
New Revision: 87016

URL: http://llvm.org/viewvc/llvm-project?rev=87016&view=rev
Log:

Add comment flags so AsmPrinter can output additional information when
emitting comments.  These flags carry semantic information not otherwise
easily derivable from the IR text.

Modified:
    llvm/trunk/include/llvm/CodeGen/AsmPrinter.h

Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/AsmPrinter.h?rev=87016&r1=87015&r2=87016&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/AsmPrinter.h (original)
+++ llvm/trunk/include/llvm/CodeGen/AsmPrinter.h Thu Nov 12 14:13:34 2009
@@ -86,6 +86,14 @@
     DwarfWriter *DW;
 
   public:
+    /// Flags to specify different kinds of comments to output in
+    /// assembly code.  These flags carry semantic information not
+    /// otherwise easily derivable from the IR text.
+    ///
+    enum CommentFlag {
+      ReloadReuse = 0x1
+    };
+
     /// Output stream on which we're printing assembly code.
     ///
     formatted_raw_ostream &O;





More information about the llvm-commits mailing list