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)
commit2db6d3899b32673fe6dbc235806bd5bf257f5fab
treee158affee216e01c4ee6ad8e1f433d62ad03665e
parentde2fb00a1623905d3a315af2cd938048c5864591
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

llvm-svn: 232047
llvm/include/llvm/IR/IRBuilder.h
llvm/lib/IR/AutoUpgrade.cpp