Skip to content

Replace PERFSCORE_MEMORY_* macros with PerfScoreMemoryAccessKind enum class#127148

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/replace-perfscore-memory-macros
Draft

Replace PERFSCORE_MEMORY_* macros with PerfScoreMemoryAccessKind enum class#127148
Copilot wants to merge 2 commits intomainfrom
copilot/replace-perfscore-memory-macros

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 20, 2026

Note

This pull request description was generated with AI/Copilot assistance.

Summary

  • Replaced PERFSCORE_MEMORY_* macro constants with PerfScoreMemoryAccessKind enum class.
  • Added enum members: None, Read, Write, ReadWrite.
  • Updated JIT perf-score code paths to use the enum type across:
    • emit.h
    • emit.cpp
    • emitarm64.cpp
    • emitxarch.cpp
    • emitriscv64.cpp
    • emitloongarch64.cpp
  • Addressed review feedback with formatting-only alignment fixes in:
    • emit.h (insExecutionCharacteristics field alignment)
    • emitloongarch64.cpp (INS_OPTS_RELOC assignment alignment)

Validation

  • Baseline build before edits: ./build.sh clr+libs+host
  • Post-change build: ./build.sh clr -rc checked
  • Parallel validation:
    • Code Review: no comments
    • CodeQL: no alerts reported (analysis skipped for cpp due DB size limits)
  • Additional formatting validation:
    • Attempted jitformat.py check; blocked in this environment due clang-format tool download failure.

Notes

  • No direct tests were found for this debug/LATE_DISASM perf-score path; validation focused on successful CoreCLR compilation and static review/security checks.
  • Latest follow-up commit is formatting-only and does not change behavior.

Copilot AI requested review from Copilot and removed request for Copilot April 20, 2026 11:58
Copilot AI requested a review from jakobbotsch April 20, 2026 11:59
@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 20, 2026
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@jakobbotsch
Copy link
Copy Markdown
Member

@copilot Fix the formatting based on this patch:

diff --git a/src/coreclr/jit/emit.h b/src/coreclr/jit/emit.h
index 606a6c16..61c335a3 100644
--- a/src/coreclr/jit/emit.h
+++ b/src/coreclr/jit/emit.h
@@ -2205,42 +2205,42 @@ protected:
 #define PERFSCORE_LATENCY_WR_STACK         PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_STACK      PERFSCORE_LATENCY_3C
 
 // a read, write or modify from constant location, possible def to use latency from L0 cache
 #define PERFSCORE_LATENCY_RD_CONST_ADDR    PERFSCORE_LATENCY_3C
 #define PERFSCORE_LATENCY_WR_CONST_ADDR    PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_CONST_ADDR PERFSCORE_LATENCY_3C
 
 // a read, write or modify from memory location, possible def to use latency from L0 or L1 cache
 // plus an extra cost  (of 1.0) for a increased chance  of a cache miss
 #define PERFSCORE_LATENCY_RD_GENERAL       PERFSCORE_LATENCY_4C
 #define PERFSCORE_LATENCY_WR_GENERAL       PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_GENERAL    PERFSCORE_LATENCY_4C
 
 #else
 #error Unknown TARGET
 #endif
 
     struct insExecutionCharacteristics
     {
-        float    insThroughput;
-        float    insLatency;
+        float                     insThroughput;
+        float                     insLatency;
         PerfScoreMemoryAccessKind insMemoryAccessKind;
     };
 
     float insEvaluateExecutionCost(instrDesc* id);
 
     insExecutionCharacteristics getInsExecutionCharacteristics(instrDesc* id);
 
     void perfScoreUnhandledInstruction(instrDesc* id, insExecutionCharacteristics* result);
 
 #endif // defined(DEBUG) || defined(LATE_DISASM)
 
     weight_t getCurrentBlockWeight();
 
     void dispIns(instrDesc* id);
 
     void appendToCurIG(instrDesc* id);
 
     /********************************************************************************************/
 
     struct instrDescJmp : instrDesc
diff --git a/src/coreclr/jit/emitloongarch64.cpp b/src/coreclr/jit/emitloongarch64.cpp
index 411d1505..311f84fd 100644
--- a/src/coreclr/jit/emitloongarch64.cpp
+++ b/src/coreclr/jit/emitloongarch64.cpp
@@ -5255,42 +5255,42 @@ emitter::insExecutionCharacteristics emitter::getInsExecutionCharacteristics(ins
         { // xor + bnez/beqz or bnez/beqz + pcaddi + jirl
             assert((CombinedInsCnt == 2) || (CombinedInsCnt == 3));
             result.insLatency    = (CombinedInsCnt == 2) ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_3C;
             result.insThroughput = (CombinedInsCnt == 2) ? 5.5f : PERFSCORE_THROUGHPUT_5C;
         }
         else if (id->idInsOpt() == INS_OPTS_I)
         { // addi.d, srli.d, lu12i.w, ori, lu32i.d, lu52i.d
             result.insLatency    = PERFSCORE_LATENCY_1C * CombinedInsCnt;
             result.insThroughput = (CombinedInsCnt < 3)
                                        ? PERFSCORE_THROUGHPUT_4C * CombinedInsCnt
                                        : PERFSCORE_THROUGHPUT_4C * (CombinedInsCnt - 1) + PERFSCORE_THROUGHPUT_1C;
         }
         else if (id->idInsOpt() == INS_OPTS_C)
         { // pcaddu18i + jirl or lu12i.w + ori + lu32i.d + jirl
             assert((CombinedInsCnt == 2) || (CombinedInsCnt == 4));
             result.insLatency    = (CombinedInsCnt == 2) ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_4C;
             result.insThroughput = (CombinedInsCnt == 2) ? 3.5f : 10.5f;
         }
         else if (id->idInsOpt() == INS_OPTS_RELOC)
         { // pcalau12i + (addi.d or ld.d)
-            result.insLatency          = id->idIsCnsReloc() ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_5C;
-            result.insThroughput       = id->idIsCnsReloc() ? PERFSCORE_THROUGHPUT_6C : PERFSCORE_THROUGHPUT_4C;
+            result.insLatency    = id->idIsCnsReloc() ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_5C;
+            result.insThroughput = id->idIsCnsReloc() ? PERFSCORE_THROUGHPUT_6C : PERFSCORE_THROUGHPUT_4C;
             result.insMemoryAccessKind =
                 id->idIsCnsReloc() ? PerfScoreMemoryAccessKind::None : PerfScoreMemoryAccessKind::Read;
         }
         else
         {
             perfScoreUnhandledInstruction(id, &result);
         }
 
         return result;
     }
 
     assert(ins != INS_lea);
 
     if (emitInsIsLoadOrStore(ins))
     {
         if (emitInsIsLoad(ins))
         {
             result.insMemoryAccessKind =
                 emitInsIsStore(ins) ? PerfScoreMemoryAccessKind::ReadWrite : PerfScoreMemoryAccessKind::Read;
         }

@jakobbotsch
Copy link
Copy Markdown
Member

@copilot Fix the formatting based on this patch:

diff --git a/src/coreclr/jit/emit.h b/src/coreclr/jit/emit.h
index 606a6c16..61c335a3 100644
--- a/src/coreclr/jit/emit.h
+++ b/src/coreclr/jit/emit.h
@@ -2205,42 +2205,42 @@ protected:
 #define PERFSCORE_LATENCY_WR_STACK         PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_STACK      PERFSCORE_LATENCY_3C
 
 // a read, write or modify from constant location, possible def to use latency from L0 cache
 #define PERFSCORE_LATENCY_RD_CONST_ADDR    PERFSCORE_LATENCY_3C
 #define PERFSCORE_LATENCY_WR_CONST_ADDR    PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_CONST_ADDR PERFSCORE_LATENCY_3C
 
 // a read, write or modify from memory location, possible def to use latency from L0 or L1 cache
 // plus an extra cost  (of 1.0) for a increased chance  of a cache miss
 #define PERFSCORE_LATENCY_RD_GENERAL       PERFSCORE_LATENCY_4C
 #define PERFSCORE_LATENCY_WR_GENERAL       PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_GENERAL    PERFSCORE_LATENCY_4C
 
 #else
 #error Unknown TARGET
 #endif
 
     struct insExecutionCharacteristics
     {
-        float    insThroughput;
-        float    insLatency;
+        float                     insThroughput;
+        float                     insLatency;
         PerfScoreMemoryAccessKind insMemoryAccessKind;
     };
 
     float insEvaluateExecutionCost(instrDesc* id);
 
     insExecutionCharacteristics getInsExecutionCharacteristics(instrDesc* id);
 
     void perfScoreUnhandledInstruction(instrDesc* id, insExecutionCharacteristics* result);
 
 #endif // defined(DEBUG) || defined(LATE_DISASM)
 
     weight_t getCurrentBlockWeight();
 
     void dispIns(instrDesc* id);
 
     void appendToCurIG(instrDesc* id);
 
     /********************************************************************************************/
 
     struct instrDescJmp : instrDesc
diff --git a/src/coreclr/jit/emitloongarch64.cpp b/src/coreclr/jit/emitloongarch64.cpp
index 411d1505..311f84fd 100644
--- a/src/coreclr/jit/emitloongarch64.cpp
+++ b/src/coreclr/jit/emitloongarch64.cpp
@@ -5255,42 +5255,42 @@ emitter::insExecutionCharacteristics emitter::getInsExecutionCharacteristics(ins
         { // xor + bnez/beqz or bnez/beqz + pcaddi + jirl
             assert((CombinedInsCnt == 2) || (CombinedInsCnt == 3));
             result.insLatency    = (CombinedInsCnt == 2) ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_3C;
             result.insThroughput = (CombinedInsCnt == 2) ? 5.5f : PERFSCORE_THROUGHPUT_5C;
         }
         else if (id->idInsOpt() == INS_OPTS_I)
         { // addi.d, srli.d, lu12i.w, ori, lu32i.d, lu52i.d
             result.insLatency    = PERFSCORE_LATENCY_1C * CombinedInsCnt;
             result.insThroughput = (CombinedInsCnt < 3)
                                        ? PERFSCORE_THROUGHPUT_4C * CombinedInsCnt
                                        : PERFSCORE_THROUGHPUT_4C * (CombinedInsCnt - 1) + PERFSCORE_THROUGHPUT_1C;
         }
         else if (id->idInsOpt() == INS_OPTS_C)
         { // pcaddu18i + jirl or lu12i.w + ori + lu32i.d + jirl
             assert((CombinedInsCnt == 2) || (CombinedInsCnt == 4));
             result.insLatency    = (CombinedInsCnt == 2) ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_4C;
             result.insThroughput = (CombinedInsCnt == 2) ? 3.5f : 10.5f;
         }
         else if (id->idInsOpt() == INS_OPTS_RELOC)
         { // pcalau12i + (addi.d or ld.d)
-            result.insLatency          = id->idIsCnsReloc() ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_5C;
-            result.insThroughput       = id->idIsCnsReloc() ? PERFSCORE_THROUGHPUT_6C : PERFSCORE_THROUGHPUT_4C;
+            result.insLatency    = id->idIsCnsReloc() ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_5C;
+            result.insThroughput = id->idIsCnsReloc() ? PERFSCORE_THROUGHPUT_6C : PERFSCORE_THROUGHPUT_4C;
             result.insMemoryAccessKind =
                 id->idIsCnsReloc() ? PerfScoreMemoryAccessKind::None : PerfScoreMemoryAccessKind::Read;
         }
         else
         {
             perfScoreUnhandledInstruction(id, &result);
         }
 
         return result;
     }
 
     assert(ins != INS_lea);
 
     if (emitInsIsLoadOrStore(ins))
     {
         if (emitInsIsLoad(ins))
         {
             result.insMemoryAccessKind =
                 emitInsIsStore(ins) ? PerfScoreMemoryAccessKind::ReadWrite : PerfScoreMemoryAccessKind::Read;
         }

@copilot Address this

@jakobbotsch
Copy link
Copy Markdown
Member

@copilot Fix the formatting based on this patch:

diff --git a/src/coreclr/jit/emit.h b/src/coreclr/jit/emit.h
index 606a6c16..61c335a3 100644
--- a/src/coreclr/jit/emit.h
+++ b/src/coreclr/jit/emit.h
@@ -2205,42 +2205,42 @@ protected:
 #define PERFSCORE_LATENCY_WR_STACK         PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_STACK      PERFSCORE_LATENCY_3C
 
 // a read, write or modify from constant location, possible def to use latency from L0 cache
 #define PERFSCORE_LATENCY_RD_CONST_ADDR    PERFSCORE_LATENCY_3C
 #define PERFSCORE_LATENCY_WR_CONST_ADDR    PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_CONST_ADDR PERFSCORE_LATENCY_3C
 
 // a read, write or modify from memory location, possible def to use latency from L0 or L1 cache
 // plus an extra cost  (of 1.0) for a increased chance  of a cache miss
 #define PERFSCORE_LATENCY_RD_GENERAL       PERFSCORE_LATENCY_4C
 #define PERFSCORE_LATENCY_WR_GENERAL       PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_GENERAL    PERFSCORE_LATENCY_4C
 
 #else
 #error Unknown TARGET
 #endif
 
     struct insExecutionCharacteristics
     {
-        float    insThroughput;
-        float    insLatency;
+        float                     insThroughput;
+        float                     insLatency;
         PerfScoreMemoryAccessKind insMemoryAccessKind;
     };
 
     float insEvaluateExecutionCost(instrDesc* id);
 
     insExecutionCharacteristics getInsExecutionCharacteristics(instrDesc* id);
 
     void perfScoreUnhandledInstruction(instrDesc* id, insExecutionCharacteristics* result);
 
 #endif // defined(DEBUG) || defined(LATE_DISASM)
 
     weight_t getCurrentBlockWeight();
 
     void dispIns(instrDesc* id);
 
     void appendToCurIG(instrDesc* id);
 
     /********************************************************************************************/
 
     struct instrDescJmp : instrDesc
diff --git a/src/coreclr/jit/emitloongarch64.cpp b/src/coreclr/jit/emitloongarch64.cpp
index 411d1505..311f84fd 100644
--- a/src/coreclr/jit/emitloongarch64.cpp
+++ b/src/coreclr/jit/emitloongarch64.cpp
@@ -5255,42 +5255,42 @@ emitter::insExecutionCharacteristics emitter::getInsExecutionCharacteristics(ins
         { // xor + bnez/beqz or bnez/beqz + pcaddi + jirl
             assert((CombinedInsCnt == 2) || (CombinedInsCnt == 3));
             result.insLatency    = (CombinedInsCnt == 2) ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_3C;
             result.insThroughput = (CombinedInsCnt == 2) ? 5.5f : PERFSCORE_THROUGHPUT_5C;
         }
         else if (id->idInsOpt() == INS_OPTS_I)
         { // addi.d, srli.d, lu12i.w, ori, lu32i.d, lu52i.d
             result.insLatency    = PERFSCORE_LATENCY_1C * CombinedInsCnt;
             result.insThroughput = (CombinedInsCnt < 3)
                                        ? PERFSCORE_THROUGHPUT_4C * CombinedInsCnt
                                        : PERFSCORE_THROUGHPUT_4C * (CombinedInsCnt - 1) + PERFSCORE_THROUGHPUT_1C;
         }
         else if (id->idInsOpt() == INS_OPTS_C)
         { // pcaddu18i + jirl or lu12i.w + ori + lu32i.d + jirl
             assert((CombinedInsCnt == 2) || (CombinedInsCnt == 4));
             result.insLatency    = (CombinedInsCnt == 2) ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_4C;
             result.insThroughput = (CombinedInsCnt == 2) ? 3.5f : 10.5f;
         }
         else if (id->idInsOpt() == INS_OPTS_RELOC)
         { // pcalau12i + (addi.d or ld.d)
-            result.insLatency          = id->idIsCnsReloc() ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_5C;
-            result.insThroughput       = id->idIsCnsReloc() ? PERFSCORE_THROUGHPUT_6C : PERFSCORE_THROUGHPUT_4C;
+            result.insLatency    = id->idIsCnsReloc() ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_5C;
+            result.insThroughput = id->idIsCnsReloc() ? PERFSCORE_THROUGHPUT_6C : PERFSCORE_THROUGHPUT_4C;
             result.insMemoryAccessKind =
                 id->idIsCnsReloc() ? PerfScoreMemoryAccessKind::None : PerfScoreMemoryAccessKind::Read;
         }
         else
         {
             perfScoreUnhandledInstruction(id, &result);
         }
 
         return result;
     }
 
     assert(ins != INS_lea);
 
     if (emitInsIsLoadOrStore(ins))
     {
         if (emitInsIsLoad(ins))
         {
             result.insMemoryAccessKind =
                 emitInsIsStore(ins) ? PerfScoreMemoryAccessKind::ReadWrite : PerfScoreMemoryAccessKind::Read;
         }

@copilot Fix the formatting based on this patch:

diff --git a/src/coreclr/jit/emit.h b/src/coreclr/jit/emit.h
index 606a6c16..61c335a3 100644
--- a/src/coreclr/jit/emit.h
+++ b/src/coreclr/jit/emit.h
@@ -2205,42 +2205,42 @@ protected:
 #define PERFSCORE_LATENCY_WR_STACK         PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_STACK      PERFSCORE_LATENCY_3C
 
 // a read, write or modify from constant location, possible def to use latency from L0 cache
 #define PERFSCORE_LATENCY_RD_CONST_ADDR    PERFSCORE_LATENCY_3C
 #define PERFSCORE_LATENCY_WR_CONST_ADDR    PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_CONST_ADDR PERFSCORE_LATENCY_3C
 
 // a read, write or modify from memory location, possible def to use latency from L0 or L1 cache
 // plus an extra cost  (of 1.0) for a increased chance  of a cache miss
 #define PERFSCORE_LATENCY_RD_GENERAL       PERFSCORE_LATENCY_4C
 #define PERFSCORE_LATENCY_WR_GENERAL       PERFSCORE_LATENCY_1C
 #define PERFSCORE_LATENCY_RD_WR_GENERAL    PERFSCORE_LATENCY_4C
 
 #else
 #error Unknown TARGET
 #endif
 
     struct insExecutionCharacteristics
     {
-        float    insThroughput;
-        float    insLatency;
+        float                     insThroughput;
+        float                     insLatency;
         PerfScoreMemoryAccessKind insMemoryAccessKind;
     };
 
     float insEvaluateExecutionCost(instrDesc* id);
 
     insExecutionCharacteristics getInsExecutionCharacteristics(instrDesc* id);
 
     void perfScoreUnhandledInstruction(instrDesc* id, insExecutionCharacteristics* result);
 
 #endif // defined(DEBUG) || defined(LATE_DISASM)
 
     weight_t getCurrentBlockWeight();
 
     void dispIns(instrDesc* id);
 
     void appendToCurIG(instrDesc* id);
 
     /********************************************************************************************/
 
     struct instrDescJmp : instrDesc
diff --git a/src/coreclr/jit/emitloongarch64.cpp b/src/coreclr/jit/emitloongarch64.cpp
index 411d1505..311f84fd 100644
--- a/src/coreclr/jit/emitloongarch64.cpp
+++ b/src/coreclr/jit/emitloongarch64.cpp
@@ -5255,42 +5255,42 @@ emitter::insExecutionCharacteristics emitter::getInsExecutionCharacteristics(ins
         { // xor + bnez/beqz or bnez/beqz + pcaddi + jirl
             assert((CombinedInsCnt == 2) || (CombinedInsCnt == 3));
             result.insLatency    = (CombinedInsCnt == 2) ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_3C;
             result.insThroughput = (CombinedInsCnt == 2) ? 5.5f : PERFSCORE_THROUGHPUT_5C;
         }
         else if (id->idInsOpt() == INS_OPTS_I)
         { // addi.d, srli.d, lu12i.w, ori, lu32i.d, lu52i.d
             result.insLatency    = PERFSCORE_LATENCY_1C * CombinedInsCnt;
             result.insThroughput = (CombinedInsCnt < 3)
                                        ? PERFSCORE_THROUGHPUT_4C * CombinedInsCnt
                                        : PERFSCORE_THROUGHPUT_4C * (CombinedInsCnt - 1) + PERFSCORE_THROUGHPUT_1C;
         }
         else if (id->idInsOpt() == INS_OPTS_C)
         { // pcaddu18i + jirl or lu12i.w + ori + lu32i.d + jirl
             assert((CombinedInsCnt == 2) || (CombinedInsCnt == 4));
             result.insLatency    = (CombinedInsCnt == 2) ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_4C;
             result.insThroughput = (CombinedInsCnt == 2) ? 3.5f : 10.5f;
         }
         else if (id->idInsOpt() == INS_OPTS_RELOC)
         { // pcalau12i + (addi.d or ld.d)
-            result.insLatency          = id->idIsCnsReloc() ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_5C;
-            result.insThroughput       = id->idIsCnsReloc() ? PERFSCORE_THROUGHPUT_6C : PERFSCORE_THROUGHPUT_4C;
+            result.insLatency    = id->idIsCnsReloc() ? PERFSCORE_LATENCY_2C : PERFSCORE_LATENCY_5C;
+            result.insThroughput = id->idIsCnsReloc() ? PERFSCORE_THROUGHPUT_6C : PERFSCORE_THROUGHPUT_4C;
             result.insMemoryAccessKind =
                 id->idIsCnsReloc() ? PerfScoreMemoryAccessKind::None : PerfScoreMemoryAccessKind::Read;
         }
         else
         {
             perfScoreUnhandledInstruction(id, &result);
         }
 
         return result;
     }
 
     assert(ins != INS_lea);
 
     if (emitInsIsLoadOrStore(ins))
     {
         if (emitInsIsLoad(ins))
         {
             result.insMemoryAccessKind =
                 emitInsIsStore(ins) ? PerfScoreMemoryAccessKind::ReadWrite : PerfScoreMemoryAccessKind::Read;
         }

@copilot address this

Copilot AI requested review from Copilot and removed request for Copilot April 20, 2026 23:20
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 20, 2026

@copilot Fix the formatting based on this patch:

diff --git a/src/coreclr/jit/emit.h b/src/coreclr/jit/emit.h

...

Applied in f492e75. Formatting was updated exactly as requested in src/coreclr/jit/emit.h and src/coreclr/jit/emitloongarch64.cpp.

@copilot Fix the formatting based on this patch:

...

Addressed in f492e75 with the requested alignment/spacing updates in both files.

@copilot Fix the formatting based on this patch:

...

Done in f492e75. The formatting patch has been applied exactly to emit.h and emitloongarch64.cpp.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • clrjit2.blob.core.windows.net
    • Triggering command: /usr/bin/curl curl --silent --retry 5 --fail -o /home/REDACTED/work/runtime/runtime/artifacts/tools/clang-format REDACTED -DDISABLE_CONTR/usr/bin/sh -DFEATURE_BASICF-c -DFEATURE_CODE_V. /tmp/MSBuildTempWqoXdc/tmpb7de97de868e43509bb79951a6242386.exec.cmd -DFEATURE_COMWRAPPERS -DFEATURE-DDEBUG -DBU�� 1 -Wl,-z,relro,-z,now -Wl,--version-script=/home/REDACTED/work/runtime/runtime/artifacts/obj/corebash DENTIFIER /usr/bin/clang&#43;&#43;-18 RM_ABI -DDEBUG -bash -DFEATURE_BASICF/home/REDACTED/work/runtime/runtime/eng/native/gen-buildsys.sh -DFEATURE_CODE_V/home/REDACTED/work/runtime/runtime/src/native/corehost -DFEATURE_COMWR/home/REDACTED/work/runtime/runtime/artifacts/obj/linux-x64.Debug (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants