[all-commits] [llvm/llvm-project] c04895: [AMDGPU] Early bail in getFunctionCodeSize for met...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Thu Feb 13 13:22:11 PST 2025


  Branch: refs/heads/users/rampitec/02-13-_amdgpu_early_bail_in_getfunctioncodesize_for_meta_inst._nfc
  Home:   https://github.com/llvm/llvm-project
  Commit: c0489545755c98dc2f87ffcd83af929816643074
      https://github.com/llvm/llvm-project/commit/c0489545755c98dc2f87ffcd83af929816643074
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
    M llvm/test/CodeGen/AMDGPU/code-size-estimate.mir

  Log Message:
  -----------
  [AMDGPU] Early bail in getFunctionCodeSize for meta inst. NFC.

It does not change the estimate because getInstSizeInBytes() already
returns 0 for meta instructions, but added a test and early bail.



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