LLVM 16: Update RISCV data layout
This commit is contained in:
parent
1e1e5b8d98
commit
f414715ebf
7 changed files with 10 additions and 6 deletions
|
@ -158,6 +158,10 @@ pub unsafe fn create_module<'ll>(
|
|||
if sess.target.arch == "s390x" {
|
||||
target_data_layout = target_data_layout.replace("-v128:64", "");
|
||||
}
|
||||
|
||||
if sess.target.arch == "riscv64" {
|
||||
target_data_layout = target_data_layout.replace("-n32:64-", "-n64-");
|
||||
}
|
||||
}
|
||||
|
||||
// Ensure the data-layout values hardcoded remain the defaults.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue