diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-07-06 17:44:22 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-07-06 17:44:22 +0000 |
commit | 879c34f45aa06e5b2934cf541bf7df6757f1c50a (patch) | |
tree | ab309c279de334fe920f2de7cba53ab4dd7155b7 /llvm/lib | |
parent | c96567370740820df23de0c8fd01e2715ae6c346 (diff) | |
download | bcm5719-llvm-879c34f45aa06e5b2934cf541bf7df6757f1c50a.tar.gz bcm5719-llvm-879c34f45aa06e5b2934cf541bf7df6757f1c50a.zip |
Whitespace.
llvm-svn: 159839
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 20848b403a1..e5ea6e693f8 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -484,7 +484,7 @@ bool FastISel::SelectGetElementPtr(const User *I) { if (const ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) { if (CI->isZero()) continue; // N = N + Offset - TotalOffs += + TotalOffs += TD.getTypeAllocSize(Ty)*cast<ConstantInt>(CI)->getSExtValue(); if (TotalOffs >= MaxOffs) { N = FastEmit_ri_(VT, ISD::ADD, N, NIsKill, TotalOffs, VT); @@ -645,7 +645,7 @@ bool FastISel::SelectCall(const User *I) { BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II) .addCImm(CI).addImm(DI->getOffset()) .addMetadata(DI->getVariable()); - else + else BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II) .addImm(CI->getZExtValue()).addImm(DI->getOffset()) .addMetadata(DI->getVariable()); @@ -795,7 +795,7 @@ FastISel::SelectInstruction(const Instruction *I) { DL = DebugLoc(); return true; } - // Remove dead code. However, ignore call instructions since we've flushed + // Remove dead code. However, ignore call instructions since we've flushed // the local value map and recomputed the insert point. if (!isa<CallInst>(I)) { recomputeInsertPt(); |