aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/Inputs
diff options
context:
space:
mode:
authorvporpo <vasileios.porpodas@amd.com>2026-01-31 10:46:59 -0800
committerGitHub <noreply@github.com>2026-01-31 10:46:59 -0800
commit1658456ccf2c74c7ddaba49590b7a31c4fdc4d33 (patch)
tree8492000f5e28ada886f32aeb57553d0e327a75e6 /clang/test/CodeGenObjC/Inputs
parent85236008eaf9f7a606b13c09f6c82368a8383040 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[AMDGPU] Introduce custom MIR formatting for s_wait_alu (#176316)HEADmain
This patch implements a custom printer/parser for the immediate operand of s_wait_alu that prints/parses the decoded counter values. Format: ``` .<counter1>_<value1>_<counter2>_<value2> ``` Example: `s_wait_alu .VaVdst_1_VmVsrc_1` ; Which is equivalent to this: `s_wait_alu 8167` Features: - If a counter is at its maximum value it won't get printed. - The parser will error out if a counter is greater or equal to its max value. - If all counters are disabled we can use 'AllOff'. - For now we also accept numeric values for backwards compatibility with older MIR. Note: This is similar to https://github.com/llvm/llvm-project/pull/96004 but for `s_wait_alu`.
Diffstat (limited to 'clang/test/CodeGenObjC/Inputs')
0 files changed, 0 insertions, 0 deletions