llvm-project/llvm/lib/Target/X86/AsmParser
Marina Yatsina ff262fa807 [X86] - Removing warning on legal cases caused by commit r258132
There's an overloading of the "movsd" and "cmpsd" instructions, e.g. movsd can be either "Move Data from String to String" or "Move or Merge Scalar Double-Precision Floating-Point Value".
The former should produce warnings when parsing a memory operand that is not ESI/EDI, but the latter should not.

Fixed the code to produce warnings only after making sure we're dealing with the first case.

Expanded the tests of the produced warnings + fixed RUN line of the test so that it would check both stdout and stderr

Differential Revision: http://reviews.llvm.org/D16359

llvm-svn: 258393
2016-01-21 11:37:06 +00:00
..
CMakeLists.txt [CMake] X86AsmParser: Prune redundant LINK_LIBS. 2015-09-29 01:25:01 +00:00
LLVMBuild.txt [X86] Remove X86CodeGen dependency from the AsmParser library. 2015-12-25 22:10:11 +00:00
Makefile [X86] Fix copy and paste typo from pasting from another Makefile to restore code. 2015-12-25 23:27:57 +00:00
X86AsmInstrumentation.cpp [X86] Move getX86SubSuperRegisterOrZero to X86MCTargetDesc.cpp so it can be used by AsmParser library without depending on X86CodeGen library. 2015-12-25 22:10:08 +00:00
X86AsmInstrumentation.h Reduce the size of MCRelaxableFragment. 2015-11-14 06:35:56 +00:00
X86AsmParser.cpp [X86] - Removing warning on legal cases caused by commit r258132 2016-01-21 11:37:06 +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