[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)
This commit is contained in:
River Riddle
2022-08-22 01:31:31 -07:00
parent a1c42cb803
commit 93cf0e8a28
9 changed files with 23 additions and 2 deletions

View File

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