Add the PPC64 popcntd instruction
PPC ISA 2.06 (P7, A2, etc.) has a popcntd instruction. Add this instruction and
tell TTI about it so that popcount-loop recognition will know about it.
llvm-svn: 178233
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
index 18e4c07..11b7fc2 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -40,6 +40,7 @@
, HasFSQRT(false)
, HasSTFIWX(false)
, HasISEL(false)
+ , HasPOPCNTD(false)
, IsBookE(false)
, HasLazyResolverStubs(false)
, IsJITCodeModel(false)