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

Chris Jackson via All-commits all-commits at lists.llvm.org
Thu Aug 7 11:45:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f102a90042fd3757c207112cfe64ee10182ace5
      https://github.com/llvm/llvm-project/commit/9f102a90042fd3757c207112cfe64ee10182ace5
  Author: Chris Jackson <chris.jackson at amd.com>
  Date:   2025-08-07 (Thu, 07 Aug 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-canonicalizing-src-modifiers.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 select (#152119)

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 corresponding FP 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