forked from OSchip/llvm-project
parent
51835e73e0
commit
8564b274db
|
@ -1511,7 +1511,7 @@ static bool isFusionProfitable(Instruction *srcOpInst,
|
|||
LLVM_DEBUG({
|
||||
std::stringstream msg;
|
||||
msg << " fusion is most profitable at depth " << *dstLoopDepth << " with "
|
||||
<< setprecision(2) << additionalComputeFraction
|
||||
<< std::setprecision(2) << additionalComputeFraction
|
||||
<< "% redundant computation and a ";
|
||||
msg << (storageReduction.hasValue()
|
||||
? std::to_string(storageReduction.getValue())
|
||||
|
|
|
@ -979,7 +979,7 @@ static Value *vectorizeConstant(Instruction *inst, const ConstantOp &constant,
|
|||
OperationState state(
|
||||
b.getContext(), loc, constantOpInst->getName().getStringRef(), {},
|
||||
{vectorType},
|
||||
{make_pair(Identifier::get("value", b.getContext()), attr)});
|
||||
{std::make_pair(Identifier::get("value", b.getContext()), attr)});
|
||||
|
||||
return b.createOperation(state)->getResult(0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue