[PATCH] IAS: support .rep as an alias for .rept

Renato Golin renato.golin at linaro.org
Wed Dec 25 11:10:10 PST 2013



================
Comment at: lib/MC/MCParser/AsmParser.cpp:3841
@@ -3838,2 +3840,3 @@
   DirectiveKindMap[".rept"] = DK_REPT;
+  DirectiveKindMap[".rep"] = DK_REP;
   DirectiveKindMap[".irp"] = DK_IRP;
----------------
Another thing, if the error message is generic, the new type DK_REP doesn't even need to be created, and you can use:

  DirectiveKindMap[".rep"] = DK_REPT;

no?


http://llvm-reviews.chandlerc.com/D2457



More information about the llvm-commits mailing list