summaryrefslogtreecommitdiff
path: root/lib/Target/R600/SIISelLowering.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-06-10 19:18:24 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-06-10 19:18:24 +0000
commit69891c0115542d191a43023f60eca4e0dfd8dbcb (patch)
treea711f08bf4cb55ac9815ab00cb00dada1913223e /lib/Target/R600/SIISelLowering.cpp
parentee9772d9ddbc62ca9f965ed2c0b40a3326bcd2b0 (diff)
downloadllvm-69891c0115542d191a43023f60eca4e0dfd8dbcb.tar.gz
llvm-69891c0115542d191a43023f60eca4e0dfd8dbcb.tar.bz2
llvm-69891c0115542d191a43023f60eca4e0dfd8dbcb.tar.xz
R600/SI: Implement i64 ctpop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIISelLowering.cpp')
-rw-r--r--lib/Target/R600/SIISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp
index 48ce7d8b7e..d05d71add8 100644
--- a/lib/Target/R600/SIISelLowering.cpp
+++ b/lib/Target/R600/SIISelLowering.cpp
@@ -212,6 +212,7 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) :
}
setOperationAction(ISD::CTPOP, MVT::i32, Legal);
+ setOperationAction(ISD::CTPOP, MVT::i64, Legal);
setTargetDAGCombine(ISD::SELECT_CC);
setTargetDAGCombine(ISD::SETCC);