Cost model: Add check for reverse shuffles to CostModel analysis
authorArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 12 Feb 2013 02:40:37 +0000 (02:40 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 12 Feb 2013 02:40:37 +0000 (02:40 +0000)
commit4fc6484ee2439a9506d525ca757171e0ecc07744
tree119c8b8cd03b05482c4f55ad1f26536730721674
parentd9316dacf5bb8c02631f782c7f2fc24fb8d788f3
Cost model: Add check for reverse shuffles to CostModel analysis

Check for reverse shuffles in the CostModel analysis pass and query
TargetTransform info accordingly. This allows us we can write test cases for
reverse shuffles.

radar://13171406

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174932 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CostModel.cpp