aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorRoger Ferrer Ibáñez <rofirrim@gmail.com>2024-06-20 07:27:07 +0200
committerGitHub <noreply@github.com>2024-06-20 07:27:07 +0200
commit5ef02d9963765514f094092d6635eb8b4f1f9ce6 (patch)
tree79a732de80a892478b830dec096d53a33e87a788 /llvm/lib/IR/Module.cpp
parentda2ad44119edf13eb944f7e685469352aa840e63 (diff)
downloadllvm-5ef02d9963765514f094092d6635eb8b4f1f9ce6.zip
llvm-5ef02d9963765514f094092d6635eb8b4f1f9ce6.tar.gz
llvm-5ef02d9963765514f094092d6635eb8b4f1f9ce6.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions