Final step of instcombine debuginfo; switch a couple more places over to InsertNewInstWith, and use setDebugLoc for the cases which can't be easily handled by the automated mechanisms.
llvm-svn: 132167
This commit is contained in:
@@ -211,7 +211,7 @@ Value *InstCombiner::EvaluateInDifferentType(Value *V, const Type *Ty,
|
||||
}
|
||||
|
||||
Res->takeName(I);
|
||||
return InsertNewInstBefore(Res, *I);
|
||||
return InsertNewInstWith(Res, *I);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user