[llvm-commits] [llvm] r108555 - in /llvm/trunk/lib/Target/PowerPC: PPCInstrInfo.cpp PPCInstrInfo.td

Chris Lattner clattner at apple.com
Sat Jul 17 10:39:34 PDT 2010


> to:
> 
> def MOV8rr  : I<0x88, MRMDestReg, (outs GR8 :$dst), (ins GR8 :$src),
>                "mov{b}\t{$src, $dst|$dst, $src}",
>                [(set GR8:$dst, (copy GR8:$src)]>;
> 
> This has two benefits: neverHasSideEffects (and others) can now be inferred, and tblgen could conceptually generate the code for X86InstrInfo::copyPhysReg.

On reflection, I realized that this has nothing to do with copy.  The input pattern should just be written "(set GR8:$dst, GR8:$src)", sorry for the noise.

-Chris



More information about the llvm-commits mailing list