[llvm-commits] [llvm] r47043 - in /llvm/trunk/lib: CodeGen/TargetInstrInfoImpl.cpp Target/PowerPC/PPCInstrInfo.cpp Target/X86/X86InstrInfo.cpp

Chris Lattner clattner at apple.com
Wed Feb 13 08:58:22 PST 2008


>> Bonus points for making tblgen reject instructions marked commutable
>> that don't start with three register operands.
>
> That's too restrictive. It's entirely legal for target instruction
> that don't start with 3 register operands to be commutable. That's why
> we allow target specific code to commute certain instructions.

Ah right, good point!

-chris



More information about the llvm-commits mailing list