mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Make -view-isel-dags show the dag before instruction selecting, in case
the target isel crashes due to unimplemented features like calls :) llvm-svn: 22997
This commit is contained in:
parent
d4fcf86262
commit
64f7f0beac
@ -1228,12 +1228,12 @@ void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB, MachineFunction &MF,
|
||||
DEBUG(std::cerr << "Legalized selection DAG:\n");
|
||||
DEBUG(DAG.dump());
|
||||
|
||||
if (ViewDAGs) DAG.viewGraph();
|
||||
|
||||
// Third, instruction select all of the operations to machine code, adding the
|
||||
// code to the MachineBasicBlock.
|
||||
InstructionSelectBasicBlock(DAG);
|
||||
|
||||
if (ViewDAGs) DAG.viewGraph();
|
||||
|
||||
DEBUG(std::cerr << "Selected machine code:\n");
|
||||
DEBUG(BB->dump());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user