mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
make sure that -view-isel-dags is the input to the isel, not the input to
the second phase of dag combining llvm-svn: 23631
This commit is contained in:
parent
86ccb0efb4
commit
cf12d7b556
@ -1302,11 +1302,11 @@ void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB, MachineFunction &MF,
|
||||
DEBUG(std::cerr << "Legalized selection DAG:\n");
|
||||
DEBUG(DAG.dump());
|
||||
|
||||
if (ViewDAGs) DAG.viewGraph();
|
||||
|
||||
// Run the DAG combiner in post-legalize mode, if we are told to do so
|
||||
if (CombinerEnabled) DAG.Combine(true);
|
||||
|
||||
if (ViewDAGs) DAG.viewGraph();
|
||||
|
||||
// Third, instruction select all of the operations to machine code, adding the
|
||||
// code to the MachineBasicBlock.
|
||||
InstructionSelectBasicBlock(DAG);
|
||||
|
Loading…
Reference in New Issue
Block a user