From 93cf0e8a28e8c682f65d3e5c394d1eb169ca09ce Mon Sep 17 00:00:00 2001 From: River Riddle Date: Mon, 22 Aug 2022 01:31:31 -0700 Subject: [mlir] Fix bots after bytecode support was added in D131747 * Fix ambiguous Twine constructor call * Ensure shift is 64-bit (for MSVC) * Disable bytecode tests on s390x (we don't support big endian right now) --- mlir/lib/Bytecode/Reader/BytecodeReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp') diff --git a/mlir/lib/Bytecode/Reader/BytecodeReader.cpp b/mlir/lib/Bytecode/Reader/BytecodeReader.cpp index 3168ce6f9c2f..c23640d1cfa0 100644 --- a/mlir/lib/Bytecode/Reader/BytecodeReader.cpp +++ b/mlir/lib/Bytecode/Reader/BytecodeReader.cpp @@ -40,7 +40,7 @@ static std::string toString(bytecode::Section::ID sectionID) { case bytecode::Section::kIR: return "IR (4)"; default: - return ("Unknown (" + Twine(sectionID) + ")").str(); + return ("Unknown (" + Twine(static_cast(sectionID)) + ")").str(); } } -- cgit v1.2.3