mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-30 17:02:29 +00:00
Delete an unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56495 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8b746969ba
commit
fe29e770e6
@ -1057,16 +1057,6 @@ bool X86DAGToDAGISel::SelectAddr(SDValue Op, SDValue N, SDValue &Base,
|
|||||||
return true;
|
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
|
/// 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
|
/// 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.
|
/// is derived from the type of N, which is either v4f32 or v2f64.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user