Details
Details
- Reviewers
rampitec - Commits
- rG911961c9c132: [AMDGPU][MC][GFX10] Improved dpp8 errors handling
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
7274 | Just use getLoc() here? Loc does not seem to be used otherwise. |
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
7274 | The intention was to save the location before calling parseAbsoluteExpression. If the expression value is out of bounds, and we call getLoc() later, we will refer an incorrect error position (the next token after the expression). |
Just use getLoc() here? Loc does not seem to be used otherwise.