[PATCH] D90952: [GlobalISel] Add combine for (x | mask) -> x when (x | mask) == x

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 02:38:04 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa75d6178b809: [GlobalISel] Add combine for (x | mask) -> x when (x | mask) == x (authored by mbrkusanin).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90952/new/

https://reviews.llvm.org/D90952

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-or-redundant.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shift-of-shifted-logic.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90952.304118.patch
Type: text/x-patch
Size: 17629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201110/f7ed7b3d/attachment.bin>


More information about the llvm-commits mailing list