Internal change

PiperOrigin-RevId: 235191129
This commit is contained in:
MLIR Team authored and jpienaar committed 2019-03-29 16:38:24 -07:00
1 parent 51835e73e0
commit 8564b274db
2 files changed
+2 -2

No files matched your search

+1 -1
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())
+1 -1
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);
}