aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorPiyou Chen <piyou.chen@sifive.com>2024-08-14 17:30:53 +0800
committerGitHub <noreply@github.com>2024-08-14 17:30:53 +0800
commitc4206f1ff1d946c495b74738eba9303dafb17e18 (patch)
tree0f307b06a2fc0942bcdc7ddb6d0c7a6024a980bd /llvm/lib/IR/Module.cpp
parent31f593eb958e2076b98f62e6f2ec24ad8737cd4d (diff)
downloadllvm-c4206f1ff1d946c495b74738eba9303dafb17e18.zip
llvm-c4206f1ff1d946c495b74738eba9303dafb17e18.tar.gz
llvm-c4206f1ff1d946c495b74738eba9303dafb17e18.tar.bz2
[RISCV][compiler-rt] Update __init_riscv_feature_bits prototype (#101472)
This patch add `void* PlatformArgs` parameter to `__init_riscv_feature_bits`. `PlatformArgs` allows the platform to provide pre-computed data and access it without extra effort. For example, Linux could pass the vDSO object to avoid an extra system call. ``` __init_riscv_feature_bits() -> __init_riscv_feature_bits(void *PlatformArgs) ```
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions