diff options
author | Stefan Stipanovic <sstipanovic@s-energize.com> | 2019-07-22 22:10:59 +0000 |
---|---|---|
committer | Stefan Stipanovic <sstipanovic@s-energize.com> | 2019-07-22 22:10:59 +0000 |
commit | 95cbc3da8871f43c1ce2b2926afaedcd826202b1 (patch) | |
tree | c75cf23060f25d58129628ab1d6a919e9f8690eb /llvm/lib/Transforms/Utils | |
parent | 3a94765bfca288c5f824f9a6d216f2129dfcd7ee (diff) | |
download | bcm5719-llvm-95cbc3da8871f43c1ce2b2926afaedcd826202b1.tar.gz bcm5719-llvm-95cbc3da8871f43c1ce2b2926afaedcd826202b1.zip |
Fixing build error from commit 9285295.
[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: 366753
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r-- | llvm/lib/Transforms/Utils/Local.cpp | 2 |
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); |