Commit 539041c5 authored by Igor Sheludko's avatar Igor Sheludko Committed by Commit Bot

[ptr-compr][turbofan] Implement GraphAssembler::TaggedEqual() as WordEqual()

... which already does good the right job of generating 32-bit comparisons
while Word32Equal() seems to break some optimizations in TurboFan and produce
a little bit slower code.

Bug: v8:8948
Change-Id: I288656479fa32c34a7253c4879cb3566d7470a6a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1781047
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Auto-Submit: Igor Sheludko <ishell@chromium.org>
Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63501}
parent 00cd9cfd
......@@ -99,10 +99,6 @@ Node* GraphAssembler::IntPtrEqual(Node* left, Node* right) {
}
Node* GraphAssembler::TaggedEqual(Node* left, Node* right) {
if (machine()->Is64() && COMPRESS_POINTERS_BOOL) {
// Allow implicit truncation.
return Word32Equal(left, right);
}
return WordEqual(left, right);
}
......
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