Fixes issue 57830
Diff Detail
Diff Detail
Event Timeline
| llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll | ||
|---|---|---|
| 32 | Can you add one test with align 4? | |
Comment Actions
LGTM
| llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll | ||
|---|---|---|
| 63 | Thanks! There seems to be a room for improvement in the expansion code for the aligned case, but it does not affect this patch. | |
| llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll | ||
|---|---|---|
| 63 | I also realized this should be using llvm.ptrmask instead of this ptrtoint hacking | |
Can you add one test with align 4?