Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
test/CodeGen/AMDGPU/scratch-buffer.ll | ||
---|---|---|
101–102 | I still don't really understand how this becomes a negative offset. Would another test that adds a negative offset be useful? |
test/CodeGen/AMDGPU/scratch-buffer.ll | ||
---|---|---|
101–102 | Negative immediate offsets don't trigger the bug, because only unsigned immediates get folded into the MUBUF instruction. The bug occurs when %offset is negative and it is passed to the vaddr operand. |
I still don't really understand how this becomes a negative offset. Would another test that adds a negative offset be useful?