[Mlir-commits] [mlir] [mlir][MemRef] Add runtime bounds checking (PR #75817)
Mehdi Amini
llvmlistbot at llvm.org
Tue Dec 19 03:17:49 PST 2023
================
@@ -21,6 +25,13 @@ static std::string generateErrorMessage(Operation *op, const std::string &msg) {
std::string buffer;
llvm::raw_string_ostream stream(buffer);
OpPrintingFlags flags;
+ // We may generate a lot of error messages and so we need to ensure the
+ // printing is fast.
+ flags.assumeVerified();
----------------
joker-eph wrote:
Nite: this is redundant with `printGenericOpForm();`
https://github.com/llvm/llvm-project/pull/75817
More information about the Mlir-commits
mailing list