commit | 31cc9655b681c1b9b0a199131588377ce578ec0d | [log] [tgz] |
---|---|---|
author | Kevin Enderby <enderby@apple.com> | Fri May 28 21:20:21 2010 +0000 |
committer | Kevin Enderby <enderby@apple.com> | Fri May 28 21:20:21 2010 +0000 |
tree | 2edd40d20c8802c2d396e8e07949f809783ffeee | |
parent | 5e394429ab0a51af87056fbdaceeae879e651963 [diff] [blame] |
MC/X86: Add alias for movzx. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105005 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index fe10598..ac4d4e9 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -645,6 +645,7 @@ .Case("cmovnzl", "cmovnel") .Case("cmovzl", "cmovel") .Case("fwait", "wait") + .Case("movzx", "movzb") .Default(Name); // FIXME: Hack to recognize cmp<comparison code>{ss,sd,ps,pd}.