aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-10-28 11:53:30 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-10-28 11:53:30 +0000
commit335a7bcf1ea3834458847129be4b2454228d3fee (patch)
tree3538ad047a7f6aed733bdc1208cc8a7ca8796310 /llvm/lib/Transforms/Utils/Local.cpp
parent314df7a5aabbc62a9dcc1132afb223c994621f81 (diff)
downloadllvm-335a7bcf1ea3834458847129be4b2454228d3fee.zip
llvm-335a7bcf1ea3834458847129be4b2454228d3fee.tar.gz
llvm-335a7bcf1ea3834458847129be4b2454228d3fee.tar.bz2
Untabify and whitespace cleanups.
llvm-svn: 220771
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index ef54eb2..5bf6386 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -1074,9 +1074,9 @@ bool llvm::LowerDbgDeclare(Function &F) {
else if (LoadInst *LI = dyn_cast<LoadInst>(U))
ConvertDebugDeclareToDebugValue(DDI, LI, DIB);
else if (CallInst *CI = dyn_cast<CallInst>(U)) {
- // This is a call by-value or some other instruction that
- // takes a pointer to the variable. Insert a *value*
- // intrinsic that describes the alloca.
+ // This is a call by-value or some other instruction that
+ // takes a pointer to the variable. Insert a *value*
+ // intrinsic that describes the alloca.
auto DbgVal = DIB.insertDbgValueIntrinsic(
AI, 0, DIVariable(DDI->getVariable()),
DIExpression(DDI->getExpression()), CI);
@@ -1204,7 +1204,7 @@ static bool markAliveBlocks(BasicBlock *BB,
dyn_cast<ConstantInt>(II->getArgOperand(0)))
MakeUnreachable = Cond->isZero();
- if (MakeUnreachable) {
+ if (MakeUnreachable) {
// Don't insert a call to llvm.trap right before the unreachable.
changeToUnreachable(BBI, false);
Changed = true;