R600: Implement TTI:getPopcntSupport
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 18 Jul 2014 06:07:13 +0000 (06:07 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 18 Jul 2014 06:07:13 +0000 (06:07 +0000)
commita32c319741faf11f90819ec3a5b2431d8af2ff3a
tree81a878f705bf8782fec01965a7cbeff5ef908e4c
parentc6058e24621bc157fdde3eaf6e2bc7558d189787
R600: Implement TTI:getPopcntSupport

The test is just copied from X86, and I don't know of a better
way to test it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213351 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUSubtarget.h
lib/Target/R600/AMDGPUTargetTransformInfo.cpp
test/Transforms/LoopIdiom/R600/lit.local.cfg [new file with mode: 0644]
test/Transforms/LoopIdiom/R600/popcnt.ll [new file with mode: 0644]