aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-06 01:15:27 +0000
committerChris Lattner <sabre@nondot.org>2007-11-06 01:15:27 +0000
commitc8f8eb49d13b3f189476da5d3cbd0694c0fc4c40 (patch)
tree6ac250e86a2d18ecdc22973dfade9186241a3419 /lib/Transforms/Scalar/InstructionCombining.cpp
parent3e3fd8cf1c6bb2bff373903ff55d8c7562b2f4ea (diff)
downloadexternal_llvm-c8f8eb49d13b3f189476da5d3cbd0694c0fc4c40.zip
external_llvm-c8f8eb49d13b3f189476da5d3cbd0694c0fc4c40.tar.gz
external_llvm-c8f8eb49d13b3f189476da5d3cbd0694c0fc4c40.tar.bz2
wrap long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index c0ea28b..1a638c3 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -7732,8 +7732,10 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
NewPtrTy = PointerType::get(IntegerType::get(Size<<3));
if (NewPtrTy) {
- Value *Src = InsertCastBefore(Instruction::BitCast, CI.getOperand(2), NewPtrTy, CI);
- Value *Dest = InsertCastBefore(Instruction::BitCast, CI.getOperand(1), NewPtrTy, CI);
+ Value *Src = InsertCastBefore(Instruction::BitCast, CI.getOperand(2),
+ NewPtrTy, CI);
+ Value *Dest = InsertCastBefore(Instruction::BitCast, CI.getOperand(1),
+ NewPtrTy, CI);
Value *L = new LoadInst(Src, "tmp", false, Align, &CI);
Value *NS = new StoreInst(L, Dest, false, Align, &CI);
CI.replaceAllUsesWith(NS);