ARM cost model: Add costs for vector selects
authorArnold Schwaighofer <aschwaighofer@apple.com>
Thu, 7 Feb 2013 16:10:15 +0000 (16:10 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Thu, 7 Feb 2013 16:10:15 +0000 (16:10 +0000)
commit66f535a273e52d56199c7ce8f975796017b6cbb2
tree42cd2d2b4c2353fc5e93d2dc27081f33e4107774
parent7db31f100793cd4588de8f71b00a26784dd97c86
ARM cost model: Add costs for vector selects

Vector selects are cheap on NEON. They get lowered to a vbsl instruction.

radar://13158753

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174631 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMTargetTransformInfo.cpp
test/Analysis/CostModel/ARM/select.ll [new file with mode: 0644]