Deleted Added
full compact
HexagonISelDAGToDAG.cpp (251662) HexagonISelDAGToDAG.cpp (255804)
1//===-- HexagonISelDAGToDAG.cpp - A dag to dag inst selector for Hexagon --===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 1320 unchanged lines hidden (view full) ---

1329 Src1->getOperand(1));
1330 ReplaceUses(N, Result);
1331
1332 return Result;
1333}
1334
1335
1336SDNode *HexagonDAGToDAGISel::Select(SDNode *N) {
1//===-- HexagonISelDAGToDAG.cpp - A dag to dag inst selector for Hexagon --===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 1320 unchanged lines hidden (view full) ---

1329 Src1->getOperand(1));
1330 ReplaceUses(N, Result);
1331
1332 return Result;
1333}
1334
1335
1336SDNode *HexagonDAGToDAGISel::Select(SDNode *N) {
1337 if (N->isMachineOpcode())
1337 if (N->isMachineOpcode()) {
1338 N->setNodeId(-1);
1338 return NULL; // Already selected.
1339 return NULL; // Already selected.
1340 }
1339
1340
1341 switch (N->getOpcode()) {
1342 case ISD::Constant:
1343 return SelectConstant(N);
1344
1345 case ISD::ConstantFP:
1346 return SelectConstantFP(N);

--- 326 unchanged lines hidden ---
1341
1342
1343 switch (N->getOpcode()) {
1344 case ISD::Constant:
1345 return SelectConstant(N);
1346
1347 case ISD::ConstantFP:
1348 return SelectConstantFP(N);

--- 326 unchanged lines hidden ---