[all-commits] [llvm/llvm-project] 0f1a51: [GlobalISel] Allow vectors in redundant or + add c...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Tue Oct 11 15:31:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f1a51e17353f837ed693b9798d1dbb0b8fd5fa0
      https://github.com/llvm/llvm-project/commit/0f1a51e17353f837ed693b9798d1dbb0b8fd5fa0
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-or-redundant.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-redundant-and.mir

  Log Message:
  -----------
  [GlobalISel] Allow vectors in redundant or + add combines

We support KnownBits for vectors, so we can enable these.

https://godbolt.org/z/r9a9W4Gj1

Differential Revision: https://reviews.llvm.org/D135719




More information about the All-commits mailing list