mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Remove an unused function parameter.
llvm-svn: 26221
This commit is contained in:
parent
4b996ebd5e
commit
07063456aa
@ -1505,7 +1505,7 @@ void SelectionDAGLowering::visitFrameReturnAddress(CallInst &I, bool isFrame) {
|
|||||||
/// getMemsetValue - Vectorized representation of the memset value
|
/// getMemsetValue - Vectorized representation of the memset value
|
||||||
/// operand.
|
/// operand.
|
||||||
static SDOperand getMemsetValue(SDOperand Value, MVT::ValueType VT,
|
static SDOperand getMemsetValue(SDOperand Value, MVT::ValueType VT,
|
||||||
SelectionDAG &DAG, TargetLowering &TLI) {
|
SelectionDAG &DAG) {
|
||||||
MVT::ValueType CurVT = VT;
|
MVT::ValueType CurVT = VT;
|
||||||
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Value)) {
|
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Value)) {
|
||||||
uint64_t Val = C->getValue() & 255;
|
uint64_t Val = C->getValue() & 255;
|
||||||
@ -1634,7 +1634,7 @@ void SelectionDAGLowering::visitMemIntrinsic(CallInst &I, unsigned Op) {
|
|||||||
for (unsigned i = 0; i < NumMemOps; i++) {
|
for (unsigned i = 0; i < NumMemOps; i++) {
|
||||||
MVT::ValueType VT = MemOps[i];
|
MVT::ValueType VT = MemOps[i];
|
||||||
unsigned VTSize = getSizeInBits(VT) / 8;
|
unsigned VTSize = getSizeInBits(VT) / 8;
|
||||||
SDOperand Value = getMemsetValue(Op2, VT, DAG, TLI);
|
SDOperand Value = getMemsetValue(Op2, VT, DAG);
|
||||||
SDOperand Store = DAG.getNode(ISD::STORE, MVT::Other, getRoot(),
|
SDOperand Store = DAG.getNode(ISD::STORE, MVT::Other, getRoot(),
|
||||||
Value,
|
Value,
|
||||||
getMemBasePlusOffset(Op1, Offset, DAG, TLI),
|
getMemBasePlusOffset(Op1, Offset, DAG, TLI),
|
||||||
|
Loading…
Reference in New Issue
Block a user