[llvm-commits] [llvm] r59960 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/DAGCombiner.cpp lib/CodeGen/SelectionDAG/LegalizeTypes.cpp lib/CodeGen/SelectionDAG/LegalizeTypes.h lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/Target/PowerPC/PPCISelLowering.cpp

Chris Lattner clattner at apple.com
Mon Nov 24 11:04:48 PST 2008


On Nov 24, 2008, at 6:53 AM, Duncan Sands wrote:

> Author: baldrick
> Date: Mon Nov 24 08:53:14 2008
> New Revision: 59960
>
> URL: http://llvm.org/viewvc/llvm-project?rev=59960&view=rev
> Log:
> If the type legalizer actually legalized anything
> (this doesn't happen that often, since most code
> does not use illegal types) then follow it by a
> DAG combiner run that is allowed to generate
> illegal operations but not illegal types.  I didn't
> modify the target combiner code to distinguish like
> this between illegal operations and illegal types,
> so it will not produce illegal operations as well
> as not producing illegal types.

Nifty, does this improve anything?  Can you add a testcase?

-Chris



More information about the llvm-commits mailing list