[llvm] r267348 - [Lanai] Use EVT::getEVTString() to print a type as a string instead of an enum encoding value.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 24 09:30:53 PDT 2016
Author: ctopper
Date: Sun Apr 24 11:30:51 2016
New Revision: 267348
URL: http://llvm.org/viewvc/llvm-project?rev=267348&view=rev
Log:
[Lanai] Use EVT::getEVTString() to print a type as a string instead of an enum encoding value.
Modified:
llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp
Modified: llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp?rev=267348&r1=267347&r2=267348&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp Sun Apr 24 11:30:51 2016
@@ -462,7 +462,7 @@ SDValue LanaiTargetLowering::LowerCCCArg
}
default:
DEBUG(dbgs() << "LowerFormalArguments Unhandled argument type: "
- << (int)RegVT.getSimpleVT().SimpleTy << "\n");
+ << RegVT.getEVTString() << "\n");
llvm_unreachable("unhandled argument type");
}
} else {
More information about the llvm-commits
mailing list