Completely reject instructions that have an operand in their
authorChris Lattner <sabre@nondot.org>
Tue, 2 Nov 2010 23:40:41 +0000 (23:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 Nov 2010 23:40:41 +0000 (23:40 +0000)
commita1ca91af4e01b413cd1d1b3fa9d8d24fa99d9293
tree025a64efe50e445d2064d8247051393c9dd56ed8
parente6c6cec82bee4f419645577bffbc1f56d4c90f34
Completely reject instructions that have an operand in their
ins/outs list that isn't specified by their asmstring.  Previously
the asmmatcher would just force a 0 register into it, which clearly
isn't right.  Mark a bunch of ARM instructions that use this as
isCodeGenOnly.  Some of them are clearly pseudo instructions (like
t2TBB) others use a weird hasExtraSrcRegAllocReq thing that will
either need to be removed or the asmmatcher will need to be taught
about it (someday).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
utils/TableGen/AsmMatcherEmitter.cpp