mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +00:00
Remove unused code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72866 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
76941b2733
commit
82f1d1b572
@ -355,21 +355,11 @@ SDValue PIC16TargetLowering::ExpandFrameIndex(SDNode *N, SelectionDAG &DAG) {
|
||||
FrameIndexSDNode *FR = dyn_cast<FrameIndexSDNode>(SDValue(N,0));
|
||||
// FIXME there isn't really debug info here
|
||||
DebugLoc dl = FR->getDebugLoc();
|
||||
// FIXME: Not used.
|
||||
// int Index = FR->getIndex();
|
||||
|
||||
// Expand FrameIndex like GlobalAddress and ExternalSymbol
|
||||
// Also use Offset field for lo and hi parts. The default
|
||||
// offset is zero.
|
||||
|
||||
/*
|
||||
SDValue Offset = DAG.getConstant(0, MVT::i8);
|
||||
SDValue FI = DAG.getTargetFrameIndex(Index, MVT::i8);
|
||||
SDValue Lo = DAG.getNode(PIC16ISD::Lo, dl, MVT::i8, FI, Offset);
|
||||
SDValue Hi = DAG.getNode(PIC16ISD::Hi, dl, MVT::i8, FI, Offset);
|
||||
return DAG.getNode(ISD::BUILD_PAIR, dl, N->getValueType(0), Lo, Hi);
|
||||
*/
|
||||
|
||||
SDValue ES;
|
||||
int FrameOffset;
|
||||
SDValue FI = SDValue(N,0);
|
||||
|
Loading…
Reference in New Issue
Block a user