diff options
| author | River Riddle <riddleriver@gmail.com> | 2022-08-22 01:31:31 -0700 |
|---|---|---|
| committer | River Riddle <riddleriver@gmail.com> | 2022-08-22 01:31:39 -0700 |
| commit | 93cf0e8a28e8c682f65d3e5c394d1eb169ca09ce (patch) | |
| tree | ba4ac9ac408ee07bb2aacc1df11a1e1c2efa4e37 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp | |
| parent | a1c42cb80354cfa6ee99ea8cb1e5cab62c1f13d5 (diff) | |
[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)
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
| -rw-r--r-- | mlir/lib/Bytecode/Reader/BytecodeReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned>(sectionID)) + ")").str(); } } |
