[all-commits] [llvm/llvm-project] c7f21b: [GISel] Combine compare of bitfield extracts or'd ...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Jul 16 01:51:59 PDT 2025


  Branch: refs/heads/users/pierre-vh/gisel-combine-workitem-intrinsics
  Home:   https://github.com/llvm/llvm-project
  Commit: c7f21bb87a5ec7d8931132c0812daa9d2d70e282
      https://github.com/llvm/llvm-project/commit/c7f21bb87a5ec7d8931132c0812daa9d2d70e282
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelperCompares.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/combine-cmp-merged-bfx.mir
    M llvm/test/CodeGen/AMDGPU/workitem-intrinsic-opts.ll

  Log Message:
  -----------
  [GISel] Combine compare of bitfield extracts or'd together.

Equivalent of the previous DAG patch for GISel.
The shifts are BFXs in GISel, so the canonical form of the entire expression
is different than in the DAG. The mask is not at the root of the expression, it
remains on the leaves instead.

See #136727



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