File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2368,9 +2368,9 @@ class emitter
23682368 //
23692369 CLANG_FORMAT_COMMENT_ANCHOR;
23702370
2371- #if defined(TARGET_ARMARCH) || defined(TARGET_LOONGARCH64)
2372- // ARM32 and ARM64 both can require a bigger prolog instruction group. One scenario is where
2373- // a function uses all the incoming integer and single-precision floating-point arguments,
2371+ #if defined(TARGET_ARMARCH) || defined(TARGET_LOONGARCH64) || defined(TARGET_RISCV64)
2372+ // ARM32/64, LoongArch and RISC-V can require a bigger prolog instruction group. One scenario
2373+ // is where a function uses all the incoming integer and single-precision floating-point arguments,
23742374// and must store them all to the frame on entry. If the frame is very large, we generate
23752375// ugly code like:
23762376// movw r10, 0x488
@@ -2387,7 +2387,7 @@ class emitter
23872387#else
23882388#define SC_IG_BUFFER_NUM_SMALL_DESCS 14
23892389#define SC_IG_BUFFER_NUM_LARGE_DESCS 50
2390- #endif // !(TARGET_ARMARCH || TARGET_LOONGARCH64)
2390+ #endif // !(TARGET_ARMARCH || TARGET_LOONGARCH64 || TARGET_RISCV64 )
23912391
23922392 size_t emitIGbuffSize;
23932393
You can’t perform that action at this time.
0 commit comments