mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 20:23:39 +08:00
fix formatting; NFC
llvm-svn: 258330
This commit is contained in:
@@ -612,7 +612,8 @@ simplifyRelocatesOffABase(GCRelocateInst *RelocatedBase,
|
||||
continue;
|
||||
|
||||
// Create a Builder and replace the target callsite with a gep
|
||||
assert(RelocatedBase->getNextNode() && "Should always have one since it's not a terminator");
|
||||
assert(RelocatedBase->getNextNode() &&
|
||||
"Should always have one since it's not a terminator");
|
||||
|
||||
// Insert after RelocatedBase
|
||||
IRBuilder<> Builder(RelocatedBase->getNextNode());
|
||||
@@ -1774,8 +1775,7 @@ bool CodeGenPrepare::optimizeCallInst(CallInst *CI, bool& ModifiedDT) {
|
||||
// happens.
|
||||
WeakVH IterHandle(&*CurInstIterator);
|
||||
|
||||
replaceAndRecursivelySimplify(CI, RetVal,
|
||||
TLInfo, nullptr);
|
||||
replaceAndRecursivelySimplify(CI, RetVal, TLInfo, nullptr);
|
||||
|
||||
// If the iterator instruction was recursively deleted, start over at the
|
||||
// start of the block.
|
||||
|
||||
Reference in New Issue
Block a user