llvm-project/llvm/lib/Target/Sparc/MCTargetDesc
Daniel Sanders 72db2a390a Check that emitted instructions meet their predicates on all targets except ARM, Mips, and X86.
Summary:
* ARM is omitted from this patch because this check appears to expose bugs in this target.
* Mips is omitted from this patch because this check either detects bugs or deliberate
  emission of instructions that don't satisfy their predicates. One deliberate
  use is the SYNC instruction where the version with an operand is correctly
  defined as requiring MIPS32 while the version without an operand is defined
  as an alias of 'SYNC 0' and requires MIPS2.
* X86 is omitted from this patch because it doesn't use the tablegen-erated
  MCCodeEmitter infrastructure.

Patches for ARM and Mips will follow.

Depends on D25617

Reviewers: tstellarAMD, jmolloy

Subscribers: wdng, jmolloy, aemerson, rengolin, arsenm, jyknight, nemanjai, nhaehnle, tstellarAMD, llvm-commits

Differential Revision: https://reviews.llvm.org/D25618

llvm-svn: 287439
2016-11-19 13:05:44 +00:00
..
CMakeLists.txt
LLVMBuild.txt
SparcAsmBackend.cpp MC] Provide an MCTargetOptions to implementors of MCAsmBackendCtorTy, NFC 2016-07-25 17:18:28 +00:00
SparcELFObjectWriter.cpp Convert a few assert failures into proper errors. 2016-01-13 22:56:57 +00:00
SparcFixupKinds.h
SparcMCAsmInfo.cpp Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
SparcMCAsmInfo.h Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
SparcMCCodeEmitter.cpp Check that emitted instructions meet their predicates on all targets except ARM, Mips, and X86. 2016-11-19 13:05:44 +00:00
SparcMCExpr.cpp
SparcMCExpr.h Fix pr24486. 2015-10-05 12:07:05 +00:00
SparcMCTargetDesc.cpp Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
SparcMCTargetDesc.h Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
SparcTargetStreamer.cpp