diff options
author | Bill Wendling <isanbard@gmail.com> | 2020-01-07 13:43:04 -0800 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2020-01-07 13:44:08 -0800 |
commit | e886e762dd7972064b948119f9af2f6be312b995 (patch) | |
tree | 5b22f2ed2a7546c51fea8c8f5641e02070f3ee8e /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 06d122bc4236bf0d049eab72d883c98cfc2a9901 (diff) | |
download | bcm5719-llvm-e886e762dd7972064b948119f9af2f6be312b995.tar.gz bcm5719-llvm-e886e762dd7972064b948119f9af2f6be312b995.zip |
Revert "Allow output constraints on "asm goto""
This reverts commit 52366088a8e42c2f1e96e8430b84b8b65ec3f7bc.
I accidentally pushed this before supporting changes.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 8928dc858d5..f433c4b6c90 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -1109,17 +1109,6 @@ bool MachineBasicBlock::canSplitCriticalEdge( if (Succ->isEHPad()) return false; - // Splitting the critical edge to a callbr's indirect block isn't advised. - // Don't do it in this generic function. - if (Succ->hasAddressTaken()) - if (auto *cbr = dyn_cast<CallBrInst>(getBasicBlock()->getTerminator())) - if (auto *bb = Succ->getBasicBlock()) - if (cbr->getDefaultDest() != bb) - if (llvm::any_of(cbr->getIndirectDests(), [&](const BasicBlock *succ){ - return succ == bb; - })) - return false; - const MachineFunction *MF = getParent(); // Performance might be harmed on HW that implements branching using exec mask |