summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-22 22:07:27 +0000
committerDan Gohman <gohman@apple.com>2010-02-22 22:07:27 +0000
commitebf57b06ea369c819a07fa96ba519bde7110fc97 (patch)
tree137fc255d52b2216c2306f443a94f1e33144172f /llvm/lib/Analysis/ConstantFolding.cpp
parent6eeabaad2bab74d7064574fb053e5e099a4f000c (diff)
downloadbcm5719-llvm-ebf57b06ea369c819a07fa96ba519bde7110fc97.tar.gz
bcm5719-llvm-ebf57b06ea369c819a07fa96ba519bde7110fc97.zip
Minor formatting cleanup.
llvm-svn: 96808
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r--llvm/lib/Analysis/ConstantFolding.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index 676a8466ac2..f3f9a5102f8 100644
--- a/llvm/lib/Analysis/ConstantFolding.cpp
+++ b/llvm/lib/Analysis/ConstantFolding.cpp
@@ -814,8 +814,7 @@ Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, const Type *DestTy,
Constant::getNullValue(CE->getType()),
ConstantInt::get(ElTy->getContext(), ElemIdx)
};
- return
- ConstantExpr::getGetElementPtr(GV, &Index[0], 2);
+ return ConstantExpr::getGetElementPtr(GV, &Index[0], 2);
}
}
}
OpenPOWER on IntegriCloud