[PATCH] D27417: [X86][inline-asm] Add support for MS 'EVEN' directive

coby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 11:10:06 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL299453: [X86][inline-asm] Add support for MS 'EVEN' directive (authored by coby).

Changed prior to commit:
  https://reviews.llvm.org/D27417?vs=80279&id=94094#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D27417

Files:
  llvm/trunk/lib/MC/MCParser/AsmParser.cpp


Index: llvm/trunk/lib/MC/MCParser/AsmParser.cpp
===================================================================
--- llvm/trunk/lib/MC/MCParser/AsmParser.cpp
+++ llvm/trunk/lib/MC/MCParser/AsmParser.cpp
@@ -1980,7 +1980,7 @@
   if (ParsingInlineAsm && (IDVal == "align" || IDVal == "ALIGN"))
     return parseDirectiveMSAlign(IDLoc, Info);
 
-  if (ParsingInlineAsm && (IDVal == "even"))
+  if (ParsingInlineAsm && (IDVal == "even" || IDVal == "EVEN"))
     Info.AsmRewrites->emplace_back(AOK_EVEN, IDLoc, 4);
   if (checkForValidSection())
     return true;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27417.94094.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170404/5cd10226/attachment.bin>


More information about the llvm-commits mailing list