Commit c0487128 by Karl Schimpf

Improve readability of error messages for VADD in ARM assembler.

Fixes readability of error messages, based on comment in CL: https://codereview.chromium.org/1652173002 BUG=None R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1654803003 .
parent 2c0764e2
......@@ -157,9 +157,8 @@ IValueT encodeElmtType(Type ElmtTy) {
case IceType_i64:
return 3;
default:
llvm::report_fatal_error(
std::string("SIMD op: Don't understand element type ") +
typeString(ElmtTy));
llvm::report_fatal_error("SIMD op: Don't understand element type " +
std::string(typeString(ElmtTy)));
}
}
......
......@@ -621,8 +621,8 @@ template <> void InstARM32Vadd::emitIAS(const Cfg *Func) const {
case IceType_v8i1:
case IceType_v16i1:
case IceType_NUM:
llvm::report_fatal_error(std::string("Vadd not defined on type ") +
typeString(DestTy));
llvm::report_fatal_error("Vadd not defined on type " +
std::string(typeString(DestTy)));
break;
case IceType_v16i8:
case IceType_v8i16:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment