[PATCH] D34729: [AMDGPU] Add pattern for v_alignbit_b32 with immediate

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 17:15:07 PDT 2017


rampitec created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

If immediate in shift is less than 32 we can use alignbit too.

Diff is based on https://reviews.llvm.org/D34723.


https://reviews.llvm.org/D34729

Files:
  lib/Target/AMDGPU/SIInstrInfo.td
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/alignbit-pat.ll
  test/CodeGen/AMDGPU/cgp-bitfield-extract.ll
  test/CodeGen/AMDGPU/shift-and-i64-ubfe.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34729.104322.patch
Type: text/x-patch
Size: 6309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170628/a191fb2e/attachment.bin>


More information about the llvm-commits mailing list