Skip to content

Commit 4f0f079

Browse files
kosarevgithub-actions[bot]
authored andcommitted
Automerge: [AMDGPU][AsmParser] Simplify getting source locations of operands. (#158323)
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.
2 parents f0b05f3 + ed16523 commit 4f0f079

File tree

6 files changed

+158
-240
lines changed

6 files changed

+158
-240
lines changed

0 commit comments

Comments
 (0)