Commit 6a210560 authored by Yolanda Chen's avatar Yolanda Chen Committed by V8 LUCI CQ

[compiler] Fix PrintParameter of LoadLane

The laneidx of LoadLaneParameters will be taken as char type when
PrintParameter. Fix operator<< to print laneidx with integer type.

Change-Id: Ibe9992326014d912f9aa09e785c8c3632ed02c06
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3878768
Auto-Submit: Yolanda Chen <yolanda.chen@intel.com>
Commit-Queue: Yolanda Chen <yolanda.chen@intel.com>
Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83022}
parent e5eab3d6
......@@ -156,8 +156,8 @@ size_t hash_value(LoadLaneParameters params) {
}
std::ostream& operator<<(std::ostream& os, LoadLaneParameters params) {
return os << "(" << params.kind << " " << params.rep << " " << params.laneidx
<< ")";
return os << "(" << params.kind << " " << params.rep << " "
<< static_cast<uint32_t>(params.laneidx) << ")";
}
LoadLaneParameters const& LoadLaneParametersOf(Operator const* op) {
......
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