Skip to content

Commit caff01c

Browse files
authored
[RISC-V] Disable Inline TLS field access (#88584)
- Disable #87082 for RISC-V
1 parent 3110693 commit caff01c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/coreclr/vm/jitinterface.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,8 @@ void CEEInfo::getFieldInfo (CORINFO_RESOLVED_TOKEN * pResolvedToken,
15871587
// Optimization is disabled for linux/x86
15881588
#elif defined(TARGET_LINUX_MUSL) && defined(TARGET_ARM64)
15891589
// Optimization is disabled for linux musl arm64
1590+
#elif defined(TARGET_RISCV64)
1591+
// Optimization is disabled for riscv64
15901592
#else
15911593
bool optimizeThreadStaticAccess = true;
15921594
#if !defined(TARGET_OSX) && defined(TARGET_UNIX) && defined(TARGET_AMD64)

0 commit comments

Comments
 (0)