mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
fix PHI node emission for basic blocks that have select_cc's in them on ppc32
llvm-svn: 23113
This commit is contained in:
parent
25ce484c27
commit
6bf97cff13
@ -52,8 +52,9 @@ namespace {
|
||||
assert(&MRI && "Target doesn't provide register info?");
|
||||
}
|
||||
|
||||
void Run() {
|
||||
MachineBasicBlock *Run() {
|
||||
Emit(DAG.getRoot());
|
||||
return BB;
|
||||
}
|
||||
|
||||
private:
|
||||
@ -229,5 +230,5 @@ unsigned SimpleSched::Emit(SDOperand Op) {
|
||||
/// graph.
|
||||
void SelectionDAGISel::ScheduleAndEmitDAG(SelectionDAG &SD) {
|
||||
if (ViewDAGs) SD.viewGraph();
|
||||
SimpleSched(SD, BB).Run();
|
||||
BB = SimpleSched(SD, BB).Run();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user