]> granicus.if.org Git - llvm/commitdiff
X86: Remove dead code. NFC.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 11 Jan 2017 23:00:28 +0000 (23:00 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 11 Jan 2017 23:00:28 +0000 (23:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291721 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelDAGToDAG.cpp

index 8b66790679d92607e368e09b715e7650051ced86..8ab4c0616880c6ebf3bb43d0b96dac5505640ef6 100644 (file)
@@ -183,16 +183,6 @@ namespace {
 
     void PreprocessISelDAG() override;
 
-    inline bool immSext8(SDNode *N) const {
-      return isInt<8>(cast<ConstantSDNode>(N)->getSExtValue());
-    }
-
-    // True if the 64-bit immediate fits in a 32-bit sign-extended field.
-    inline bool i64immSExt32(SDNode *N) const {
-      uint64_t v = cast<ConstantSDNode>(N)->getZExtValue();
-      return (int64_t)v == (int32_t)v;
-    }
-
 // Include the pieces autogenerated from the target description.
 #include "X86GenDAGISel.inc"