History log of /llvm-project/llvm/test/CodeGen/RISCV/clear-cache.ll (Results 1 – 1 of 1)
Revision Date Author Comments
# 5ef02d99 20-Jun-2024 Roger Ferrer Ibáñez <rofirrim@gmail.com>

[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 obtai

[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.

show more ...