IRBuilder: add a CreateShuffleVector function that takes an ArrayRef of int
authorSanjay Patel <spatel@rotateright.com>
Thu, 12 Mar 2015 15:27:07 +0000 (15:27 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 12 Mar 2015 15:27:07 +0000 (15:27 +0000)
commit656ef652cc9239af52f9ebe0d47151aeb56fddf1
tree2fef341fabca6631f022f83556df987816d08c62
parentbe9322ae7c4f38082e35b60ab45bc9a15e11186b
IRBuilder: add a CreateShuffleVector function that takes an ArrayRef of int

This is a convenience function to ease mask creation of ShuffleVectors
in AutoUpgrade and other places.

Differential Revision: http://reviews.llvm.org/D8184

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232047 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IRBuilder.h
lib/IR/AutoUpgrade.cpp