summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-07-22 21:04:23 +0000
committerEric Christopher <echristo@gmail.com>2019-07-22 21:04:23 +0000
commit77dc6d2479a36e805861e2bd3ef1e226d78f606f (patch)
tree29b36e92a7096e888e1a361f3d543080e1ea52d1 /llvm/lib/Transforms/Utils
parent9285295f75a231dc446fa7cbc10a0a391b3434a5 (diff)
downloadbcm5719-llvm-77dc6d2479a36e805861e2bd3ef1e226d78f606f.tar.gz
bcm5719-llvm-77dc6d2479a36e805861e2bd3ef1e226d78f606f.zip
Temporarily Revert "[Attributor] Liveness analysis." as it's breaking the build.
This reverts commit 9285295f75a231dc446fa7cbc10a0a391b3434a5. llvm-svn: 366737
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 62c7dd6b71f..be160541117 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.
-void llvm::changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr) {
+static void changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr) {
SmallVector<Value*, 8> Args(II->arg_begin(), II->arg_end());
SmallVector<OperandBundleDef, 1> OpBundles;
II->getOperandBundlesAsDefs(OpBundles);
OpenPOWER on IntegriCloud