Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Very nice refactoring!
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
6047 | Maybe CPolId would be better than P. |
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
6047 | 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 | ||
---|---|---|
6047 | 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.