[llvm] r291721 - X86: Remove dead code. NFC.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 15:00:28 PST 2017
Author: pcc
Date: Wed Jan 11 17:00:28 2017
New Revision: 291721
URL: http://llvm.org/viewvc/llvm-project?rev=291721&view=rev
Log:
X86: Remove dead code. NFC.
Modified:
llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp?rev=291721&r1=291720&r2=291721&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Wed Jan 11 17:00:28 2017
@@ -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"
More information about the llvm-commits
mailing list