Disable f128 for amdgpu (#737)
`compiler_builtins` fails to compile to amdgpu if f128 is enabled. The reason seems to be that compiler_builtins uses libcalls in the implementation. I’m not really familiar with what libcalls are, but the LLVM amdgpu backend explicitly does not support them. Error message: ``` LLVM ERROR: unsupported libcall legalization ```
This commit is contained in:
parent
cd4b4a6cbf
commit
e8eb76a45a
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,8 @@ pub fn configure_f16_f128(target: &Target) {
|
|||
};
|
||||
|
||||
let f128_enabled = match target.arch.as_str() {
|
||||
// Unsupported (libcall is not supported) <https://github.com/llvm/llvm-project/issues/121122>
|
||||
"amdgpu" => false,
|
||||
// Unsupported <https://github.com/llvm/llvm-project/issues/94434>
|
||||
"arm64ec" => false,
|
||||
// Selection failure <https://github.com/llvm/llvm-project/issues/96432>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue