diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-21 00:14:05 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-21 00:14:05 +0000 |
commit | 7f162743fc7d68b19a6e21bba2a0aa810fc7897f (patch) | |
tree | 353cabfa1f3bdd0e687a7ac3bb0e38b22a54f2c7 /lib/Target/Mips | |
parent | 9aed504c8287ca864de375c58a0de67d6fa2e5e9 (diff) | |
download | external_llvm-7f162743fc7d68b19a6e21bba2a0aa810fc7897f.zip external_llvm-7f162743fc7d68b19a6e21bba2a0aa810fc7897f.tar.gz external_llvm-7f162743fc7d68b19a6e21bba2a0aa810fc7897f.tar.bz2 |
Expand 64-bit CTPOP and CTTZ.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/MipsISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 8af75e0..fbfcf8d 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/lib/Target/Mips/MipsISelLowering.cpp @@ -158,7 +158,9 @@ MipsTargetLowering(MipsTargetMachine &TM) setOperationAction(ISD::FP_TO_UINT, MVT::i64, Expand); setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand); setOperationAction(ISD::CTPOP, MVT::i32, Expand); + setOperationAction(ISD::CTPOP, MVT::i64, Expand); setOperationAction(ISD::CTTZ, MVT::i32, Expand); + setOperationAction(ISD::CTTZ, MVT::i64, Expand); setOperationAction(ISD::CTTZ_ZERO_UNDEF, MVT::i32, Expand); setOperationAction(ISD::CTTZ_ZERO_UNDEF, MVT::i64, Expand); setOperationAction(ISD::CTLZ_ZERO_UNDEF, MVT::i32, Expand); |