[PATCH] D49242: [Intrinsics] define funnel shift IR intrinsics + DAG builder support

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 12:28:08 PDT 2018


spatel updated this revision to Diff 155739.
spatel added a comment.

Patch updated:

1. Fixed LangRef example text to avoid bit-numbering ambiguity.
2. Fixed LangRef example that showed the wrong result.
3. Added regression tests (to the AArch file) for the LangRef examples to verify that the examples match the code.


https://reviews.llvm.org/D49242

Files:
  docs/LangRef.rst
  include/llvm/IR/Intrinsics.td
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/CodeGen/AArch64/funnel-shift-rot.ll
  test/CodeGen/AArch64/funnel-shift.ll
  test/CodeGen/PowerPC/funnel-shift-rot.ll
  test/CodeGen/PowerPC/funnel-shift.ll
  test/CodeGen/X86/funnel-shift-rot.ll
  test/CodeGen/X86/funnel-shift.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49242.155739.patch
Type: text/x-patch
Size: 71042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180716/63f6621c/attachment.bin>


More information about the llvm-commits mailing list