[compiler,x64] Be more permissive in CanBeMemoryOperand
I noticed that, with pointer-compression enabled, in map checks we no longer load the map as part of the cmp instruction: movl rcx,[rdx-0x1] movl rdi,0x8286f8d ;; (compressed) object: <Map(HOLEY_ELEMENTS)> cmpl rdi,rcx This CL restores that: movl rcx,0x82c6f8d ;; (compressed) object: <Map(HOLEY_ELEMENTS)> cmpl [rdx-0x1],rcx Change-Id: Ifcc7f34fddf6aa423c0a26066ac124e9757cb9ab Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2320653Reviewed-by: Santiago Aboy Solanes <solanes@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Commit-Queue: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#69130}
Showing
Please
register
or
sign in
to comment