From: Jim Grosbach Date: Wed, 6 Jul 2011 21:35:46 +0000 (+0000) Subject: Mark ARM pseudo-instructions as isPseudo. X-Git-Tag: android-x86-6.0-r1~944^2~352 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d1689ae4b1ae5af191f71dcb9c59640a6dca7ebc;p=android-x86%2Fexternal-llvm.git Mark ARM pseudo-instructions as isPseudo. This allows us to remove the (bogus and unneeded) encoding information from the pseudo-instruction class definitions. All of the pseudos that haven't been converted yet and still need encoding information instance from the normal instruction classes and explicitly set isCodeGenOnly, and so are distinct from this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134540 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td index 897d8a5d79e..088c8153a2f 100644 --- a/lib/Target/ARM/ARMInstrFormats.td +++ b/lib/Target/ARM/ARMInstrFormats.td @@ -282,15 +282,13 @@ class InstThumb; class PseudoInst pattern> - // FIXME: This really should derive from InstTemplate instead, as pseudos - // don't need encoding information. TableGen doesn't like that - // currently. Need to figure out why and fix it. - : InstARM { + : InstTemplate { let OutOperandList = oops; let InOperandList = iops; let Pattern = pattern; let isCodeGenOnly = 1; + let isPseudo = 1; } // PseudoInst that's ARM-mode only.