Change the type of offset in tablegen patterns and use AMDGPU::getNumFlatOffsetBits() in AMDGPUInstPrinter.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp | ||
|---|---|---|
| 144 | Nit: sink this into the "else" part? | |
Comment Actions
Thanks!
| llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp | ||
|---|---|---|
| 144 | You can remove the braces too now. | |
Nit: sink this into the "else" part?