summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorStefan Stipanovic <sstipanovic@s-energize.com>2019-07-22 23:58:23 +0000
committerStefan Stipanovic <sstipanovic@s-energize.com>2019-07-22 23:58:23 +0000
commit6058b86373991b78aa20e691cac7456af976ef88 (patch)
tree016964ea0972a3d4be62c5e6dd785012dfc1ccc2 /llvm/lib/Transforms/Utils
parentb2a9cf77644b2345ad662dbf93579d4577d36104 (diff)
downloadbcm5719-llvm-6058b86373991b78aa20e691cac7456af976ef88.tar.gz
bcm5719-llvm-6058b86373991b78aa20e691cac7456af976ef88.zip
Fixing build error from commit 95cbc3d
[Attributor] Liveness analysis. Liveness analysis abstract attribute used to indicate which BasicBlocks are dead and can therefore be ignored. Right now we are only looking at noreturn calls. Reviewers: jdoerfert, uenoku Subscribers: hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D64162 llvm-svn: 366769
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index be160541117..b6d555cd13e 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -1964,7 +1964,7 @@ unsigned llvm::changeToUnreachable(Instruction *I, bool UseLLVMTrap,
}
/// changeToCall - Convert the specified invoke into a normal call.
-static void changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr) {
+void llvm::changeToCall(InvokeInst *II, DomTreeUpdater *DTU) {
SmallVector<Value*, 8> Args(II->arg_begin(), II->arg_end());
SmallVector<OperandBundleDef, 1> OpBundles;
II->getOperandBundlesAsDefs(OpBundles);
OpenPOWER on IntegriCloud