[PATCH] D51392: [IR] add shuffle queries for identity extend/extract

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 28 17:19:31 PDT 2018


spatel created this revision.
spatel added reviewers: lebedev.ri, craig.topper, RKSimon.
Herald added a subscriber: mcrosier.

This was one of the potential follow-ups suggested in https://reviews.llvm.org/D48236, and these will be used to make matching the patterns in PR38691 cleaner:
https://bugs.llvm.org/show_bug.cgi?id=38691

I'm not sure if we have preferred/existing vocabulary for these operations. In the DAG, I think these would be concat_vector with an undef operand or extract_subvector. Alternate naming suggestions welcome.


https://reviews.llvm.org/D51392

Files:
  include/llvm/IR/Instructions.h
  lib/IR/Instructions.cpp
  unittests/IR/InstructionsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51392.162993.patch
Type: text/x-patch
Size: 9205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/d7c14c24/attachment.bin>


More information about the llvm-commits mailing list