Fix 80 cols violation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32179 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-12-04 17:04:44 +00:00
parent 14042388a1
commit 10292555f3

View File

@ -15,6 +15,7 @@
#include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/ScalarEvolutionExpander.h" #include "llvm/Analysis/ScalarEvolutionExpander.h"
using namespace llvm; using namespace llvm;
/// InsertCastOfTo - Insert a cast of V to the specified type, doing what /// InsertCastOfTo - Insert a cast of V to the specified type, doing what
@ -38,8 +39,8 @@ Value *SCEVExpander::InsertCastOfTo(Value *V, const Type *Ty) {
return CI; return CI;
} }
} }
return CastInst::createInferredCast(V, Ty, V->getName(), return CastInst::createInferredCast(
A->getParent()->getEntryBlock().begin()); V, Ty, V->getName(), A->getParent()->getEntryBlock().begin());
} }
Instruction *I = cast<Instruction>(V); Instruction *I = cast<Instruction>(V);