Allow vectorization of intrinsics such as powi,cttz and ctlz in Loop and SLP…

Description

Allow vectorization of intrinsics such as powi,cttz and ctlz in Loop and SLP Vectorizer.

This patch adds support to vectorize intrinsics such as powi, cttz and ctlz in Vectorizer. These intrinsics are different from other
intrinsics as second argument to these function must be same in order to vectorize them and it should be represented as a scalar.
Review: http://reviews.llvm.org/D3851#inline-32769 and http://reviews.llvm.org/D3937#inline-32857

Details

Committed
karthikMay 29 2014, 9:31 PM
Parents
rL209872: Add a trivial ArrayRef helper overload to the SelectionDAG interface.
Branches
Unknown
Tags
Unknown