diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-10 19:18:21 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-10 19:18:21 +0000 |
commit | b5b5110b5c2be363f35a2ae90a9793cefb656dbf (patch) | |
tree | ac6325c4fc02bab000c3cfbdd4aa9bcc5955b154 /llvm/lib/Target/R600/AMDILISelLowering.cpp | |
parent | 9a54da08e001dedd16e96def9c9ea1b413d838db (diff) | |
download | llvm-b5b5110b5c2be363f35a2ae90a9793cefb656dbf.zip llvm-b5b5110b5c2be363f35a2ae90a9793cefb656dbf.tar.gz llvm-b5b5110b5c2be363f35a2ae90a9793cefb656dbf.tar.bz2 |
R600/SI: Use bcnt instruction for ctpop
llvm-svn: 210567
Diffstat (limited to 'llvm/lib/Target/R600/AMDILISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/R600/AMDILISelLowering.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/R600/AMDILISelLowering.cpp b/llvm/lib/Target/R600/AMDILISelLowering.cpp index 7cea803..6001899 100644 --- a/llvm/lib/Target/R600/AMDILISelLowering.cpp +++ b/llvm/lib/Target/R600/AMDILISelLowering.cpp @@ -125,11 +125,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() { setOperationAction(ISD::UMUL_LOHI, VT, Expand); setOperationAction(ISD::BSWAP, VT, Expand); - - // GPU doesn't have any counting operators - setOperationAction(ISD::CTPOP, VT, Expand); - setOperationAction(ISD::CTTZ, VT, Expand); - setOperationAction(ISD::CTLZ, VT, Expand); } for (MVT VT : VectorTypes) { |