| Issue |
61408
|
| Summary |
NVPTX generates the wrong PTX instruction for `__usAtomicCAS`
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
seanbaxter
|
`cmpxchg` on 16-bit operands broke LLVM for all versions before 15. On 15/16, code generation finishes, but it generates a `atom.global.cas.b32` instead of the expected `atom.global.cas.b16`.
https://gist.github.com/seanbaxter/0991104f39af1d02a93fda1e91322ead
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs