[PATCH] D48012: [AMDGPU] Recognize x & ~(-1 << y) pattern.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 11 04:51:47 PDT 2018


lebedev.ri created this revision.
lebedev.ri added reviewers: nhaehnle, bogner, tstellar.
lebedev.ri added a project: AMDGPU.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, kzhuravl, arsenm.

The same pattern as https://reviews.llvm.org/D48010, but this one is IR-canonical as of https://reviews.llvm.org/D47428.


Repository:
  rL LLVM

https://reviews.llvm.org/D48012

Files:
  lib/Target/AMDGPU/AMDGPUInstructions.td
  test/CodeGen/AMDGPU/extract-lowbits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48012.150711.patch
Type: text/x-patch
Size: 3603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180611/dca28933/attachment.bin>


More information about the llvm-commits mailing list