Commit 7d2ac7b4 authored by Andreas Haas's avatar Andreas Haas Committed by Commit Bot

[turbofan][verifier] Handle kUnalignedLoad and kUnalignedStore

The machine graph verifier did not handle kUnalignedLoad and
kUnalignedStore yet, which caused problems with debug builds on arm.

R=mvstanton@chromium.org

Bug: v8:11384
Change-Id: I1a33c1e5993f9f0dd453a2d3f757e0eaff65b479
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2756213Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73487}
parent 93c7ffa3
...@@ -540,6 +540,7 @@ class MachineRepresentationChecker { ...@@ -540,6 +540,7 @@ class MachineRepresentationChecker {
CheckValueInputIsTagged(node, 0); CheckValueInputIsTagged(node, 0);
break; break;
case IrOpcode::kLoad: case IrOpcode::kLoad:
case IrOpcode::kUnalignedLoad:
case IrOpcode::kWord32AtomicLoad: case IrOpcode::kWord32AtomicLoad:
case IrOpcode::kWord32AtomicPairLoad: case IrOpcode::kWord32AtomicPairLoad:
case IrOpcode::kWord64AtomicLoad: case IrOpcode::kWord64AtomicLoad:
...@@ -559,6 +560,7 @@ class MachineRepresentationChecker { ...@@ -559,6 +560,7 @@ class MachineRepresentationChecker {
MachineRepresentation::kWord32); MachineRepresentation::kWord32);
V8_FALLTHROUGH; V8_FALLTHROUGH;
case IrOpcode::kStore: case IrOpcode::kStore:
case IrOpcode::kUnalignedStore:
case IrOpcode::kWord32AtomicStore: case IrOpcode::kWord32AtomicStore:
case IrOpcode::kWord32AtomicExchange: case IrOpcode::kWord32AtomicExchange:
case IrOpcode::kWord32AtomicAdd: case IrOpcode::kWord32AtomicAdd:
......
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