[all-commits] [llvm/llvm-project] 538435: [AMDGPU] Preserve literal operands on disassembling.

Ivan Kosarev via All-commits all-commits at lists.llvm.org
Tue Oct 14 04:32:28 PDT 2025


  Branch: refs/heads/users/kosarev/disasm-lits
  Home:   https://github.com/llvm/llvm-project
  Commit: 538435254e983f0d377a42115768512d429c44e8
      https://github.com/llvm/llvm-project/commit/538435254e983f0d377a42115768512d429c44e8
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
    M llvm/test/MC/AMDGPU/gfx1250_asm_salu_lit64.s
    M llvm/test/MC/AMDGPU/gfx1250_asm_vop1.s
    M llvm/test/MC/AMDGPU/gfx1250_asm_vop2.s
    M llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
    M llvm/test/MC/AMDGPU/gfx12_asm_sop2.s
    M llvm/test/MC/AMDGPU/gfx12_asm_sopc.s
    M llvm/test/MC/AMDGPU/lit.local.cfg
    M llvm/test/MC/AMDGPU/offset-expr.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx8-literal16.txt
    A llvm/test/MC/Disassembler/AMDGPU/literals.txt

  Log Message:
  -----------
  [AMDGPU] Preserve literal operands on disassembling.

Fixes round-tripping where literals used to be reassembled into
inline constants.

Also fix the %extract-encodings substitution in lit tests to emit
each instruction code once and not twice.

Eliminate the Literal64 field.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list