[all-commits] [llvm/llvm-project] c51b48: [AMDGPU] Recognise bitmask operations as srcmods o...

Chris Jackson via All-commits all-commits at lists.llvm.org
Tue Jul 22 03:35:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c51b48be4785f104f3aff2ba4a839a5f54778c5b
      https://github.com/llvm/llvm-project/commit/c51b48be4785f104f3aff2ba4a839a5f54778c5b
  Author: Chris Jackson <chris.jackson at amd.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/test/CodeGen/AMDGPU/fneg-modifier-casting.ll
    A llvm/test/CodeGen/AMDGPU/integer-select-src-modifiers.ll
    M llvm/test/CodeGen/AMDGPU/saddsat.ll
    M llvm/test/CodeGen/AMDGPU/ssubsat.ll

  Log Message:
  -----------
  [AMDGPU] Recognise bitmask operations as srcmods on integer types (#149110)

Add to the VOP patterns to recognise when or/xor/and are masking only
the most significant bit of i32/v2i32/i64 and replace with the appropriate source modifier.



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