mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 07:32:13 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92568 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7530efb49e
commit
d765353da8
@ -33,7 +33,7 @@ using namespace llvm;
|
|||||||
/// may also have invalid operands or may have other results that need
|
/// may also have invalid operands or may have other results that need
|
||||||
/// expansion, we just know that (at least) one result needs promotion.
|
/// expansion, we just know that (at least) one result needs promotion.
|
||||||
void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) {
|
void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) {
|
||||||
DEBUG(errs() << "Promote integer result: "; N->dump(&DAG); errs() << "\n");
|
DEBUG(dbgs() << "Promote integer result: "; N->dump(&DAG); dbgs() << "\n");
|
||||||
SDValue Res = SDValue();
|
SDValue Res = SDValue();
|
||||||
|
|
||||||
// See if the target wants to custom expand this node.
|
// See if the target wants to custom expand this node.
|
||||||
@ -43,8 +43,8 @@ void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) {
|
|||||||
switch (N->getOpcode()) {
|
switch (N->getOpcode()) {
|
||||||
default:
|
default:
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "PromoteIntegerResult #" << ResNo << ": ";
|
dbgs() << "PromoteIntegerResult #" << ResNo << ": ";
|
||||||
N->dump(&DAG); errs() << "\n";
|
N->dump(&DAG); dbgs() << "\n";
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable("Do not know how to promote this operator!");
|
llvm_unreachable("Do not know how to promote this operator!");
|
||||||
case ISD::AssertSext: Res = PromoteIntRes_AssertSext(N); break;
|
case ISD::AssertSext: Res = PromoteIntRes_AssertSext(N); break;
|
||||||
@ -599,7 +599,7 @@ SDValue DAGTypeLegalizer::PromoteIntRes_XMULO(SDNode *N, unsigned ResNo) {
|
|||||||
/// result types of the node are known to be legal, but other operands of the
|
/// result types of the node are known to be legal, but other operands of the
|
||||||
/// node may need promotion or expansion as well as the specified one.
|
/// node may need promotion or expansion as well as the specified one.
|
||||||
bool DAGTypeLegalizer::PromoteIntegerOperand(SDNode *N, unsigned OpNo) {
|
bool DAGTypeLegalizer::PromoteIntegerOperand(SDNode *N, unsigned OpNo) {
|
||||||
DEBUG(errs() << "Promote integer operand: "; N->dump(&DAG); errs() << "\n");
|
DEBUG(dbgs() << "Promote integer operand: "; N->dump(&DAG); dbgs() << "\n");
|
||||||
SDValue Res = SDValue();
|
SDValue Res = SDValue();
|
||||||
|
|
||||||
if (CustomLowerNode(N, N->getOperand(OpNo).getValueType(), false))
|
if (CustomLowerNode(N, N->getOperand(OpNo).getValueType(), false))
|
||||||
@ -608,8 +608,8 @@ bool DAGTypeLegalizer::PromoteIntegerOperand(SDNode *N, unsigned OpNo) {
|
|||||||
switch (N->getOpcode()) {
|
switch (N->getOpcode()) {
|
||||||
default:
|
default:
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "PromoteIntegerOperand Op #" << OpNo << ": ";
|
dbgs() << "PromoteIntegerOperand Op #" << OpNo << ": ";
|
||||||
N->dump(&DAG); errs() << "\n";
|
N->dump(&DAG); dbgs() << "\n";
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable("Do not know how to promote this operator's operand!");
|
llvm_unreachable("Do not know how to promote this operator's operand!");
|
||||||
|
|
||||||
@ -910,7 +910,7 @@ SDValue DAGTypeLegalizer::PromoteIntOp_ZERO_EXTEND(SDNode *N) {
|
|||||||
/// have invalid operands or may have other results that need promotion, we just
|
/// have invalid operands or may have other results that need promotion, we just
|
||||||
/// know that (at least) one result needs expansion.
|
/// know that (at least) one result needs expansion.
|
||||||
void DAGTypeLegalizer::ExpandIntegerResult(SDNode *N, unsigned ResNo) {
|
void DAGTypeLegalizer::ExpandIntegerResult(SDNode *N, unsigned ResNo) {
|
||||||
DEBUG(errs() << "Expand integer result: "; N->dump(&DAG); errs() << "\n");
|
DEBUG(dbgs() << "Expand integer result: "; N->dump(&DAG); dbgs() << "\n");
|
||||||
SDValue Lo, Hi;
|
SDValue Lo, Hi;
|
||||||
Lo = Hi = SDValue();
|
Lo = Hi = SDValue();
|
||||||
|
|
||||||
@ -921,8 +921,8 @@ void DAGTypeLegalizer::ExpandIntegerResult(SDNode *N, unsigned ResNo) {
|
|||||||
switch (N->getOpcode()) {
|
switch (N->getOpcode()) {
|
||||||
default:
|
default:
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "ExpandIntegerResult #" << ResNo << ": ";
|
dbgs() << "ExpandIntegerResult #" << ResNo << ": ";
|
||||||
N->dump(&DAG); errs() << "\n";
|
N->dump(&DAG); dbgs() << "\n";
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable("Do not know how to expand the result of this operator!");
|
llvm_unreachable("Do not know how to expand the result of this operator!");
|
||||||
|
|
||||||
@ -1965,7 +1965,7 @@ void DAGTypeLegalizer::ExpandIntRes_ZERO_EXTEND(SDNode *N,
|
|||||||
/// result types of the node are known to be legal, but other operands of the
|
/// result types of the node are known to be legal, but other operands of the
|
||||||
/// node may need promotion or expansion as well as the specified one.
|
/// node may need promotion or expansion as well as the specified one.
|
||||||
bool DAGTypeLegalizer::ExpandIntegerOperand(SDNode *N, unsigned OpNo) {
|
bool DAGTypeLegalizer::ExpandIntegerOperand(SDNode *N, unsigned OpNo) {
|
||||||
DEBUG(errs() << "Expand integer operand: "; N->dump(&DAG); errs() << "\n");
|
DEBUG(dbgs() << "Expand integer operand: "; N->dump(&DAG); dbgs() << "\n");
|
||||||
SDValue Res = SDValue();
|
SDValue Res = SDValue();
|
||||||
|
|
||||||
if (CustomLowerNode(N, N->getOperand(OpNo).getValueType(), false))
|
if (CustomLowerNode(N, N->getOperand(OpNo).getValueType(), false))
|
||||||
@ -1974,8 +1974,8 @@ bool DAGTypeLegalizer::ExpandIntegerOperand(SDNode *N, unsigned OpNo) {
|
|||||||
switch (N->getOpcode()) {
|
switch (N->getOpcode()) {
|
||||||
default:
|
default:
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "ExpandIntegerOperand Op #" << OpNo << ": ";
|
dbgs() << "ExpandIntegerOperand Op #" << OpNo << ": ";
|
||||||
N->dump(&DAG); errs() << "\n";
|
N->dump(&DAG); dbgs() << "\n";
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable("Do not know how to expand this operator's operand!");
|
llvm_unreachable("Do not know how to expand this operator's operand!");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user