diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-01-29 21:19:29 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-02-01 16:27:43 +0000 |
commit | fa9c188993ac72b07a7bf402012e7f60b0edca50 (patch) | |
tree | 4c6033b6fdfc183aeaa0c87f649db2c55605b4c1 | |
parent | 57648b644e68b2c3b189a24c3a37bebb7ad5af2b (diff) |
XXX: Hack to fix crash with jump
-rw-r--r-- | lib/Target/R600/R600LowerControlFlow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/R600/R600LowerControlFlow.cpp b/lib/Target/R600/R600LowerControlFlow.cpp index be91397c1dc..1642ba6c298 100644 --- a/lib/Target/R600/R600LowerControlFlow.cpp +++ b/lib/Target/R600/R600LowerControlFlow.cpp @@ -398,10 +398,10 @@ bool R600LowerControlFlowPass::runOnMachineFunction(MachineFunction &MF) { // // BB#2: // ... - if (PrevInst.getOperand(2).getImm() == 1) { - PrevInst.getOperand(0).setMBB(BranchBlock); - PrevInst.getOperand(2.).setImm(0); - } +// if (PrevInst.getOperand(2).getImm() == 1) { +// PrevInst.getOperand(0).setMBB(BranchBlock); +// PrevInst.getOperand(2.).setImm(0); +// } MI.eraseFromParent(); Next = MBB.rbegin(); // } |