X86 has more than just 32-bit registers
authorChris Lattner <sabre@nondot.org>
Wed, 11 May 2005 05:00:34 +0000 (05:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 May 2005 05:00:34 +0000 (05:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21857 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelPattern.cpp

index 0de651c6266beea727bb3f1efdfa0dfc762b7f7a..71870f0b86f0cc3c74eee965352bcf5d6e9ab0fe 100644 (file)
@@ -66,6 +66,12 @@ namespace {
       setOperationAction(ISD::FP_ROUND_INREG   , MVT::f32  , Expand);
       setOperationAction(ISD::SEXTLOAD         , MVT::i1   , Expand);
       setOperationAction(ISD::SREM             , MVT::f64  , Expand);
+      setOperationAction(ISD::CTPOP            , MVT::i8   , Expand);
+      setOperationAction(ISD::CTTZ             , MVT::i8   , Expand);
+      setOperationAction(ISD::CTLZ             , MVT::i8   , Expand);
+      setOperationAction(ISD::CTPOP            , MVT::i16  , Expand);
+      setOperationAction(ISD::CTTZ             , MVT::i16  , Expand);
+      setOperationAction(ISD::CTLZ             , MVT::i16  , Expand);
       setOperationAction(ISD::CTPOP            , MVT::i32  , Expand);
       setOperationAction(ISD::CTTZ             , MVT::i32  , Expand);
       setOperationAction(ISD::CTLZ             , MVT::i32  , Expand);