llvm-mc/AsmParser: Allow target to specific a comment delimiter, which will be
[oota-llvm.git] / lib / Target / X86 / X86.td
index effbddc8501431e9ae2ce61dbe460e43fab60a90..e7aa1f2107a6e5b80718debe836a3e9b326b76de 100644 (file)
@@ -182,6 +182,12 @@ include "X86CallingConv.td"
 def ATTAsmParser : AsmParser {
   string AsmParserClassName  = "ATTAsmParser";
   int Variant = 0;
+
+  // Discard comments in assembly strings.
+  string CommentDelimiter = "#";
+
+  // Recognize hard coded registers.
+  string RegisterPrefix = "%";
 }
 
 // The X86 target supports two different syntaxes for emitting machine code.