[llvm-commits] [llvm] r139407 - in /llvm/trunk: lib/CodeGen/SelectionDAG/DAGCombiner.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp test/CodeGen/ARM/2011-09-09-OddVectorDivision.ll

Eli Friedman eli.friedman at gmail.com
Sat Sep 10 03:46:59 PDT 2011


On Sat, Sep 10, 2011 at 1:27 AM, James Molloy <James.Molloy at arm.com> wrote:
> Hi Eli,
>
> This makes sense, thanks. A related question though, and please excuse my ignorance because the documentation of SelectionDAG is incomplete at best - under what situations could the DAGCombiner run before the DAGTypeLegalizer? My stepping with GDB found the opposite.

The DAGCombiner always runs before the type legalizer... and after the
type legalizer... and after the type legalizer runs again... see
SelectionDAGISel::CodeGenAndEmitDAG().

-Eli




More information about the llvm-commits mailing list