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

llvm-svn: 267348
This commit is contained in:
Craig Topper 2016-04-24 16:30:51 +00:00
parent 2d0104cc47
commit efea6dbc6c
1 changed files with 1 additions and 1 deletions

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 {