From efea6dbc6c2994dc5f3f8e8142c1c2ec536e9e7d Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 24 Apr 2016 16:30:51 +0000 Subject: [PATCH] [Lanai] Use EVT::getEVTString() to print a type as a string instead of an enum encoding value. llvm-svn: 267348 --- llvm/lib/Target/Lanai/LanaiISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/Lanai/LanaiISelLowering.cpp b/llvm/lib/Target/Lanai/LanaiISelLowering.cpp index 594aea23c415..f1d834fcffc9 100644 --- a/llvm/lib/Target/Lanai/LanaiISelLowering.cpp +++ b/llvm/lib/Target/Lanai/LanaiISelLowering.cpp @@ -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 {