Skip to content

Commit

Permalink
[RISC-V] Disable Inline TLS field access (#88584)
Browse files Browse the repository at this point in the history
- Disable #87082 for RISC-V
  • Loading branch information
clamp03 authored Jul 10, 2023
1 parent 3110693 commit caff01c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/vm/jitinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,8 @@ void CEEInfo::getFieldInfo (CORINFO_RESOLVED_TOKEN * pResolvedToken,
// Optimization is disabled for linux/x86
#elif defined(TARGET_LINUX_MUSL) && defined(TARGET_ARM64)
// Optimization is disabled for linux musl arm64
#elif defined(TARGET_RISCV64)
// Optimization is disabled for riscv64
#else
bool optimizeThreadStaticAccess = true;
#if !defined(TARGET_OSX) && defined(TARGET_UNIX) && defined(TARGET_AMD64)
Expand Down

0 comments on commit caff01c

Please sign in to comment.