summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2016-04-18 16:33:41 +0000
committerJF Bastien <jfb@google.com>2016-04-18 16:33:41 +0000
commit246e796bcd60b32d00e6b31d542150716acfcb4c (patch)
tree9d7a6bf006883ee3404df74afb3d9872b027e7bc /llvm/lib
parent8c273ad719b6a606326f2f6da0adbf930f2bf28f (diff)
downloadbcm5719-llvm-246e796bcd60b32d00e6b31d542150716acfcb4c.tar.gz
bcm5719-llvm-246e796bcd60b32d00e6b31d542150716acfcb4c.zip
Lanai: fix debug build
There's currently no raw_ostream &operator<<(SimpleValueType); provided by LLVM. It could be added by refactoring utils/TableGen/CodeGenTarget.cpp:getEnumName, but that's much more work than fixing the build. llvm-svn: 266627
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Lanai/LanaiISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Lanai/LanaiISelLowering.cpp b/llvm/lib/Target/Lanai/LanaiISelLowering.cpp
index b2c47429bad..b80c45c7aea 100644
--- a/llvm/lib/Target/Lanai/LanaiISelLowering.cpp
+++ b/llvm/lib/Target/Lanai/LanaiISelLowering.cpp
@@ -456,7 +456,7 @@ SDValue LanaiTargetLowering::LowerCCCArguments(
}
default:
DEBUG(dbgs() << "LowerFormalArguments Unhandled argument type: "
- << RegVT.getSimpleVT().SimpleTy << "\n");
+ << (int)RegVT.getSimpleVT().SimpleTy << "\n");
llvm_unreachable("unhandled argument type");
}
} else {
OpenPOWER on IntegriCloud