[all-commits] [llvm/llvm-project] 4bf2de: AMDGPU: Add test showing bit operations that shoul...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jun 9 19:41:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bf2de18320fc11d009e52a2a71a9fd367fd7dd6
      https://github.com/llvm/llvm-project/commit/4bf2de18320fc11d009e52a2a71a9fd367fd7dd6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/bit-op-reduce-width-known-bits.ll

  Log Message:
  -----------
  AMDGPU: Add test showing bit operations that should be reducible (#141837)

v_xor_i64_known_i32_from_range_use_out_of_block demonstrates a regression
that appears in a future patch in the IR division expansion.

We could generalize splitBinaryBitConstantOp to use known bits. I'm
not sure if it's worth it in the original example, since the pattern
seems to disappear if I optimize the division expansion. We should
probably fix the divide expand to avoid this.



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