Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Very nice refactoring!
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
6049 | Maybe CPolId would be better than P. |
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
6049 | What if just CPol then? So it doesn't look like we parse an id into another id. |
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
6049 | Good point. CPol is fine. |
Comment Actions
Renamed the P to CPol and parseCPolId() to getCPolKind() to avoid it be
looking like the other parse*() functions that actually consume tokens.
Comment Actions
Sorry, missed the test change. Which also reminds me that strictly
speaking this is not an NFC.
Maybe CPolId would be better than P.