[PATCH] D88774: Add disassembly counter after disasembly line
Jiao Lu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 01:54:23 PDT 2020
jiaolu added a comment.
In D88774#2325383 <https://reviews.llvm.org/D88774#2325383>, @nhaehnle wrote:
> I don't understand how this would help with shader replacement. Can you please explain how you plan to use this?
s_getpc_b64 s[10:11] ; 00000000: BE8A1F00
s_mov_b32 s15, 0x21014fac ; 00000004: BE8F03FF 21014FAC
s_mov_b64 s[0:1], s[10:11] ; 0000000C: BE80040A
s_mov_b32 s0, s5 ; 00000010: BE800305
s_mov_b32 s14, -1 ; 00000014: BE8E03C1
DisasmNumBytes seems to means summary values, this variable means to tell you where the disassembly line position is in the code body,
If you don't like DisasmCounter , maybe DisasmOffset is better name?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88774/new/
https://reviews.llvm.org/D88774
More information about the llvm-commits
mailing list