[BUILD] Change default build type (#945)

This commit is contained in:
Philippe Tillet
2022-12-03 17:47:33 -08:00
committed by GitHub
parent f2fcaeabf3
commit 99c7e0e008
3 changed files with 7 additions and 7 deletions

View File

@@ -1138,7 +1138,7 @@ private:
std::function<void(int, int)>
getLoadMatrixFn(Value tensor, const SharedMemoryObject &smemObj,
MmaEncodingAttr mmaLayout, int wpt, uint32_t kOrder,
ArrayRef<int> instrShape, ArrayRef<int> matShape,
SmallVector<int> instrShape, SmallVector<int> matShape,
Value warpId, ValueTable &vals, bool isA) const {
auto tensorTy = tensor.getType().cast<RankedTensorType>();
// We assumes that the input operand of Dot should be from shared layout.

View File

@@ -1875,9 +1875,9 @@ struct PrintfOpConversion
Value globalPtr =
rewriter.create<LLVM::AddressOfOp>(UnknownLoc::get(context), global);
Value stringStart =
rewriter.create<LLVM::GEPOp>(UnknownLoc::get(context), int8Ptr,
globalPtr, mlir::ValueRange({zero, zero}));
Value stringStart = rewriter.create<LLVM::GEPOp>(
UnknownLoc::get(context), int8Ptr, globalPtr,
SmallVector<Value>({zero, zero}));
Value bufferPtr =
rewriter.create<LLVM::NullOp>(UnknownLoc::get(context), int8Ptr);
@@ -1912,7 +1912,7 @@ struct PrintfOpConversion
int8Ptr, allocated);
}
ValueRange operands{stringStart, bufferPtr};
SmallVector<Value> operands{stringStart, bufferPtr};
rewriter.create<LLVM::CallOp>(UnknownLoc::get(context), funcOp, operands);
}
};

View File

@@ -25,8 +25,8 @@ def get_build_type():
elif check_env_flag("REL_WITH_DEB_INFO"):
return "RelWithDebInfo"
else:
return "Debug"
# TODO(Keren): Restore this before we merge into master
return "RelWithDebInfo"
# TODO: change to release when stable enough
#return "Release"