llvm-project/llvm/lib/Target/X86/AsmParser
Marina Yatsina 4b1aea0802 [X86] MS inline asm: produce error when encountering "<type> ptr <reg name>"
Currently "<type> ptr <reg name>" treated as <reg name> in MS inline asm, ignoring the "<type> ptr" completely and possibly ignoring the intention of the user.
Fixed llvm to produce an error when encountering "<type> ptr <reg name>" operands.

For example: andpd xmm1,xmmword ptr xmm1 --> andpd xmm1, xmm1 
though andpd has 2 possible matching formats - andpd xmm, xmm/m128

Patch by: ziv.izhar@intel.com
Differential Revision: http://reviews.llvm.org/D14607

llvm-svn: 254607
2015-12-03 12:17:03 +00:00
..
CMakeLists.txt [CMake] X86AsmParser: Prune redundant LINK_LIBS. 2015-09-29 01:25:01 +00:00
LLVMBuild.txt [asan-assembly-instrumentation] Prologue and epilogue are moved out from InstrumentMemOperand(). 2014-09-01 12:51:00 +00:00
Makefile
X86AsmInstrumentation.cpp Reduce the size of MCRelaxableFragment. 2015-11-14 06:35:56 +00:00
X86AsmInstrumentation.h Reduce the size of MCRelaxableFragment. 2015-11-14 06:35:56 +00:00
X86AsmParser.cpp [X86] MS inline asm: produce error when encountering "<type> ptr <reg name>" 2015-12-03 12:17:03 +00:00
X86AsmParserCommon.h [X86] Simplify immediate range checking code. 2015-10-11 16:38:14 +00:00
X86Operand.h AVX-512: Added all SKX forms of GATHER instructions. 2015-06-28 10:53:29 +00:00