[all-commits] [llvm/llvm-project] ad715b: [AMDGPU] Remove HasSampler variable. NFC. (#146682)

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Jul 2 07:44:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad715beca18469a483d14df3462446d37c039ac8
      https://github.com/llvm/llvm-project/commit/ad715beca18469a483d14df3462446d37c039ac8
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

  Log Message:
  -----------
  [AMDGPU] Remove HasSampler variable. NFC. (#146682)

Putting the complex condition in a variable does not help readability.
It is simpler to use separate `if`s.



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