[PATCH] D135719: [GlobalISel] Allow vectors in redundant or + add combines

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 15:20:29 PDT 2022


paquette created this revision.
paquette added reviewers: aemerson, arsenm, mbrkusanin.
Herald added subscribers: kosarev, kerbowa, hiraditya, rovka, jvesely.
Herald added a project: All.
paquette requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

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

https://godbolt.org/z/r9a9W4Gj1


https://reviews.llvm.org/D135719

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135719.466940.patch
Type: text/x-patch
Size: 6820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221011/6dce452f/attachment-0001.bin>


More information about the llvm-commits mailing list