| author | |
| committer | |
| log | 577f0aa54b49445d4248cf839346ce3f8632ea39 |
| tree | f8214ea5bf4ff99adfc05c28c09eb6ace5e8804a |
| parent | aad983cf40dad209ccc79b1e5ef4531e1b4d4ca7 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/target.zig+1-1| ... | ... | @@ -655,7 +655,7 @@ pub fn addrSpaceCastIsValid( |
| 655 | 655 | const arch = target.cpu.arch; |
| 656 | 656 | switch (arch) { |
| 657 | 657 | .x86_64, .i386 => return arch.supportsAddressSpace(from) and arch.supportsAddressSpace(to), |
| 658 | .amdgcn => { | |
| 658 | .nvptx64, .nvptx, .amdgcn => { | |
| 659 | 659 | const to_generic = arch.supportsAddressSpace(from) and to == .generic; |
| 660 | 660 | const from_generic = arch.supportsAddressSpace(to) and from == .generic; |
| 661 | 661 | return to_generic or from_generic; |