[LLVMdev] The live interval of write-only registers

Tzu-Chien Chiu tzuchien.chiu at gmail.com
Mon Dec 12 21:24:26 PST 2005


2005/12/13, Chris Lattner <sabre at nondot.org>:
> > For example, this a code snippet for the file generated by the TableGen tool:
> ...
> > Somewhere in my code, I have to write:
> >  unsigned opcode = MI->getOpcode(); // MachineInstr*
> >  if (CMPfaaaa == opcode ||
> >      CMPfaaar == opcode ||
> >      CMPfaara == opcode ||
> >      ...
>
> Where do you have to write this code?
>
> -Chris

Some machine idioms and instruction combining passes.

--
Tzu-Chien Chiu - XGI Technology, Inc.
URL: http://www.csie.nctu.edu.tw/~jwchiu/




More information about the llvm-dev mailing list