This is needed for experimentation
Diff Detail
Event Timeline
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
4815 | Should this set to max of calculated and overridden value? We do not want to override to force fewer registers than the code actually uses. Same comment for SGPR. |
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
4815 | Instead of setting max, can we return error saying "cannot override because isa is using more registers"? |
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
4815 | That works for me. |
Is this still relevant? Would this be better served by making the lower bound of amdgpu-waves-per-eu artificially increase the register usage?
clang-format: please reformat the code