From abd0088681a3cb53b32dc412b1fd623743dac342 Mon Sep 17 00:00:00 2001 From: Kunal Pathak Date: Wed, 15 Sep 2021 07:23:52 -0700 Subject: [PATCH] Arm64: Fix perfscore and display logic for LARGELDC (#59134) --- src/coreclr/jit/emitarm64.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/coreclr/jit/emitarm64.cpp b/src/coreclr/jit/emitarm64.cpp index 6a34f39c5a83ec..f913623ee52510 100644 --- a/src/coreclr/jit/emitarm64.cpp +++ b/src/coreclr/jit/emitarm64.cpp @@ -12179,7 +12179,7 @@ void emitter::emitDispInsHex(instrDesc* id, BYTE* code, size_t sz) } else { - assert(sz == 0); + assert(id->idCodeSize() == sz); printf(" "); } } @@ -13787,6 +13787,9 @@ void emitter::getMemoryOperation(instrDesc* id, unsigned* pMemAccessKind, bool* isLocalAccess = true; } break; + case IF_LARGELDC: + isLocalAccess = false; + break; default: assert(!"Logic Error");