aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorIvan Kosarev <ivan.kosarev@amd.com>2025-09-15 17:13:31 +0100
committerGitHub <noreply@github.com>2025-09-15 17:13:31 +0100
commited165237cd48e699396631c64f2932bd8e6ee485 (patch)
tree1b7600994e6f175830f1239bc8a22b3ec07a4d5d /llvm/lib/Support/VirtualFileSystem.cpp
parentd687dfe619b23d77633c4c9f3590210572bdcf03 (diff)
downloadllvm-ed165237cd48e699396631c64f2932bd8e6ee485.zip
llvm-ed165237cd48e699396631c64f2932bd8e6ee485.tar.gz
llvm-ed165237cd48e699396631c64f2932bd8e6ee485.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions