[PATCH] D90674: [GlobalISel] Expand combine for (x & mask) -> x when (x & mask) == x

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 08:50:33 PST 2020


mbrkusanin updated this revision to Diff 303469.
mbrkusanin added a comment.

- Refactored match function
- Updated tests


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

https://reviews.llvm.org/D90674

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-and-redundant.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shift-of-shifted-logic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90674.303469.patch
Type: text/x-patch
Size: 11700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201106/2fd85a5e/attachment.bin>


More information about the llvm-commits mailing list