diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-11 23:00:28 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-11 23:00:28 +0000 |
commit | 1b5f1cfdb4bbe7f075ca28c57021c0b7b29b80c5 (patch) | |
tree | fab7a949b0b7e2218a7f5f4088167e6a33ccfc4c /llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | |
parent | 24a1273ae1e76c9cfbe1c2de64b180d03c9100dd (diff) | |
download | bcm5719-llvm-1b5f1cfdb4bbe7f075ca28c57021c0b7b29b80c5.tar.gz bcm5719-llvm-1b5f1cfdb4bbe7f075ca28c57021c0b7b29b80c5.zip |
X86: Remove dead code. NFC.
llvm-svn: 291721
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelDAGToDAG.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp index 8b66790679d..8ab4c061688 100644 --- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -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" |