[llvm-commits] [llvm] r78731 - in /llvm/trunk: include/llvm/Target/Target.td lib/Target/X86/X86InstrInfo.td lib/Target/X86/X86InstrMMX.td lib/Target/X86/X86InstrSSE.td utils/TableGen/AsmMatcherEmitter.cpp

Eli Friedman eli.friedman at gmail.com
Tue Aug 11 15:28:04 PDT 2009


On Tue, Aug 11, 2009 at 3:17 PM, Daniel Dunbar<daniel at zuster.org> wrote:
> Author: ddunbar
> Date: Tue Aug 11 17:17:52 2009
> New Revision: 78731
>
> URL: http://llvm.org/viewvc/llvm-project?rev=78731&view=rev
> Log:
> Add 'isCodeGenOnly' bit to Instruction .td records.
>  - Used to mark fake instructions which don't correspond to an actual machine
>   instruction (or are duplicates of a real instruction). This is to be used for
>   "special cases" in the .td files, which should be ignored by things like the
>   assembler and disassembler. We still need a good solution to handle pervasive
>   duplication, like with the Int_ instructions.

If you don't want to mess with converting the duplicated ones to
patterns, I'd suggest just marking them isCodeGenOnly.

-Eli




More information about the llvm-commits mailing list