[all-commits] [llvm/llvm-project] c11450: [AMDGPU] Fix codesize estimate after #198005

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed May 27 12:10:43 PDT 2026


  Branch: refs/heads/users/rampitec/fix-codesize-estimate
  Home:   https://github.com/llvm/llvm-project
  Commit: c114500ab8b11b49422e65054a8ff474ad5f09e9
      https://github.com/llvm/llvm-project/commit/c114500ab8b11b49422e65054a8ff474ad5f09e9
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/code-size-estimate.ll
    M llvm/test/CodeGen/AMDGPU/dagcombine-fmul-sel.ll
    M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
    M llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
    M llvm/test/CodeGen/AMDGPU/imm16.ll
    M llvm/test/CodeGen/AMDGPU/select-fabs-fneg-extract.f16.ll
    M llvm/test/CodeGen/AMDGPU/select-fabs-fneg-extract.v2f16.ll

  Log Message:
  -----------
  [AMDGPU] Fix codesize estimate after #198005

This fixes failure in libc tests which checks the exact encoding
size. Encoding is now shorter, but it did not recognize fp16
immediates as an inlinable constant and assumes literal encoding.

Shorter encodings were created here:
https://github.com/llvm/llvm-project/pull/198005



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