Files
clang-p2996/llvm/test/CodeGen/RISCV/clear-cache.ll
Roger Ferrer Ibáñez 5ef02d9963 [RISCV] Lower llvm.clear_cache to __riscv_flush_icache for glibc targets (#93481)
This change is a preliminary step to support trampolines on RISC-V. Trampolines are used by flang to implement obtaining the address of an internal program (i.e., a nested function in Fortran parlance).

In this change we lower `llvm.clear_cache` intrinsic on glibc targets to
`__riscv_flush_icache` which is what GCC is currently doing for Linux targets.
2024-06-20 07:27:07 +02:00

1.9 KiB