[Lanai] Use EVT::getEVTString() to print a type as a string instead of an enum encoding value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2016-04-24 16:30:51 +00:00
parent 8b9bfa9ca1
commit 67c79eb14c

View File

@ -462,7 +462,7 @@ SDValue LanaiTargetLowering::LowerCCCArguments(
}
default:
DEBUG(dbgs() << "LowerFormalArguments Unhandled argument type: "
<< (int)RegVT.getSimpleVT().SimpleTy << "\n");
<< RegVT.getEVTString() << "\n");
llvm_unreachable("unhandled argument type");
}
} else {