Functions should be cache line aligned
Fixes GPU hangs since r333219:
"AMDGPU: Split R600 AsmPrinter code into its own class"
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| lib/Target/AMDGPU/R600AsmPrinter.cpp | ||
|---|---|---|
| 106–109 | Should be ensureAlignment | |
| lib/Target/AMDGPU/R600AsmPrinter.cpp | ||
|---|---|---|
| 106–109 | I think this is also supposed to be expressed as power of two, not bytes | |
Comment Actions
Change explanation to cache line alignment (p2align 3 still hangs the GPU).
Use ensure alignment
| lib/Target/AMDGPU/R600AsmPrinter.cpp | ||
|---|---|---|
| 106–109 | you might want to check the MADGPUASmrinter as well, that's where I copied this from. | |
Should be ensureAlignment