mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
Refactor variables unused under non-assert builds (& remove two entirely unused variables).
llvm-svn: 148230
This commit is contained in:
parent
a68251aaac
commit
d828c91e69
@ -1615,8 +1615,6 @@ bool TargetLowering::SimplifyDemandedBits(SDValue Op,
|
||||
if (MsbMask == DemandedMask) {
|
||||
unsigned ShAmt = ExVT.getScalarType().getSizeInBits();
|
||||
SDValue InOp = Op.getOperand(0);
|
||||
EVT InVT = Op.getOperand(0).getValueType();
|
||||
EVT ShTy = getShiftAmountTy(InVT);
|
||||
// In this code we may handle vector types. We can't use the
|
||||
// getShiftAmountTy API because it only works on scalars.
|
||||
// We use the shift value type because we know that its an integer
|
||||
|
@ -3046,8 +3046,8 @@ SDValue ARMTargetLowering::LowerBR_JT(SDValue Op, SelectionDAG &DAG) const {
|
||||
}
|
||||
|
||||
static SDValue LowerVectorFP_TO_INT(SDValue Op, SelectionDAG &DAG) {
|
||||
EVT VT = Op.getValueType();
|
||||
assert(VT.getVectorElementType() == MVT::i32 && "Unexpected custom lowering");
|
||||
assert(Op.getValueType().getVectorElementType() == MVT::i32
|
||||
&& "Unexpected custom lowering");
|
||||
|
||||
if (Op.getOperand(0).getValueType().getVectorElementType() == MVT::f32)
|
||||
return Op;
|
||||
|
Loading…
x
Reference in New Issue
Block a user