[Lanai] Use EVT::getEVTString() to print a type as a string instead of an enum encodi...
authorCraig Topper <craig.topper@gmail.com>
Sun, 24 Apr 2016 16:30:51 +0000 (16:30 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 24 Apr 2016 16:30:51 +0000 (16:30 +0000)
llvm-svn: 267348

llvm/lib/Target/Lanai/LanaiISelLowering.cpp

index 594aea2..f1d834f 100644 (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 {