Skip to content

Commit 65df61f

Browse files
committed
[AMDGPU][AsmParser] Simplify getting source locations of operands.
Remember indexes of MCOperands in MCParsedAsmOperands as we add them to instructions. Then use the indexes to find locations by known MCOperands indexes. Happens to fix some reported locations in tests. NFCI otherwise. getImmLoc() is to be eliminated as well; there's enough work for another patch.
1 parent b8eaceb commit 65df61f

File tree

6 files changed

+158
-241
lines changed

6 files changed

+158
-241
lines changed

0 commit comments

Comments
 (0)