Internal change

PiperOrigin-RevId: 235191129
This commit is contained in:
MLIR Team 2019-02-22 07:48:59 -08:00 committed by jpienaar
parent 51835e73e0
commit 8564b274db
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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);
}