mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
erect abstraction boundaries for accessing SDValue members, rename Val -> Node to reflect semantics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -579,7 +579,7 @@ SPUDAGToDAGISel::SelectXFormAddr(SDValue Op, SDValue N, SDValue &Base,
|
||||
*/
|
||||
SDNode *
|
||||
SPUDAGToDAGISel::Select(SDValue Op) {
|
||||
SDNode *N = Op.Val;
|
||||
SDNode *N = Op.getNode();
|
||||
unsigned Opc = N->getOpcode();
|
||||
int n_ops = -1;
|
||||
unsigned NewOpc;
|
||||
@@ -669,9 +669,9 @@ SPUDAGToDAGISel::Select(SDValue Op) {
|
||||
MVT VT = Op.getValueType();
|
||||
|
||||
DEBUG(cerr << "CellSPU: IndirectAddr(LDRESULT, imm):\nOp0 = ");
|
||||
DEBUG(Op.getOperand(0).Val->dump(CurDAG));
|
||||
DEBUG(Op.getOperand(0).getNode()->dump(CurDAG));
|
||||
DEBUG(cerr << "\nOp1 = ");
|
||||
DEBUG(Op.getOperand(1).Val->dump(CurDAG));
|
||||
DEBUG(Op.getOperand(1).getNode()->dump(CurDAG));
|
||||
DEBUG(cerr << "\n");
|
||||
|
||||
if (Op1.getOpcode() == ISD::Constant) {
|
||||
|
Reference in New Issue
Block a user