diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-23 18:26:47 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-23 18:26:47 +0000 |
commit | e64c9944f63416e80f5b1185843dd79c4bdc8dd3 (patch) | |
tree | f38d4723836ade25780d21ff940ea08f83355880 /llvm/lib | |
parent | 2430073657ed35b1c18e1ac617750398ce9c5f7b (diff) | |
download | bcm5719-llvm-e64c9944f63416e80f5b1185843dd79c4bdc8dd3.tar.gz bcm5719-llvm-e64c9944f63416e80f5b1185843dd79c4bdc8dd3.zip |
Delete an unused function.
llvm-svn: 56495
Diffstat (limited to 'llvm/lib')
-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 8c5cb22deaa..f9a682894c7 100644 --- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -1057,16 +1057,6 @@ bool X86DAGToDAGISel::SelectAddr(SDValue Op, SDValue N, SDValue &Base, return true; } -/// isZeroNode - Returns true if Elt is a constant zero or a floating point -/// constant +0.0. -static inline bool isZeroNode(SDValue Elt) { - return ((isa<ConstantSDNode>(Elt) && - cast<ConstantSDNode>(Elt)->getZExtValue() == 0) || - (isa<ConstantFPSDNode>(Elt) && - cast<ConstantFPSDNode>(Elt)->getValueAPF().isPosZero())); -} - - /// SelectScalarSSELoad - Match a scalar SSE load. In particular, we want to /// match a load whose top elements are either undef or zeros. The load flavor /// is derived from the type of N, which is either v4f32 or v2f64. |