[all-commits] [llvm/llvm-project] b3acb2: [AMDGPU] Don't rely on !eq comparing int with bits...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Oct 22 04:20:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3acb25735fdeeafcc0944ad85d2af27fe332c10
      https://github.com/llvm/llvm-project/commit/b3acb25735fdeeafcc0944ad85d2af27fe332c10
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-10-22 (Tue, 22 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td

  Log Message:
  -----------
  [AMDGPU] Don't rely on !eq comparing int with bits<5>. NFC. (#113279)

Tweak VOP2eInst_Base so that it does not rely on !eq comparing an int
value (-1) with a bits<5> value. This is to avoid a change in behaviour
when #112904 lands, which is a bug fix which has the side effect of
implicitly casting template arguments to the declared template parameter
type.



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