Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
test/CodeGen/AMDGPU/scratch-buffer.ll | ||
---|---|---|
101–102 ↗ | (On Diff #29792) | 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 ↗ | (On Diff #29792) | 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. |