summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2018-04-18 20:18:43 +0000
committerTobias Grosser <tobias@grosser.es>2018-04-18 20:18:43 +0000
commitb20ae44ed096523541cca039a8f903fd12190f0e (patch)
tree643c6a766a2db724e33830bfc4f189effba87f55 /polly/lib/CodeGen
parentc0464d9271bedaddcca349c9a610b39d8505d2a6 (diff)
downloadbcm5719-llvm-b20ae44ed096523541cca039a8f903fd12190f0e.tar.gz
bcm5719-llvm-b20ae44ed096523541cca039a8f903fd12190f0e.zip
[RuntimeDebugBuilder] Turn assert into an unreachable
llvm-svn: 330289
Diffstat (limited to 'polly/lib/CodeGen')
-rw-r--r--polly/lib/CodeGen/RuntimeDebugBuilder.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/RuntimeDebugBuilder.cpp b/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
index 16a7a4c8608..e127673a48d 100644
--- a/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
+++ b/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
@@ -191,8 +191,7 @@ void RuntimeDebugBuilder::createGPUPrinterT(PollyIRBuilder &Builder,
if (Ty->getIntegerBitWidth() < 64)
Val = Builder.CreateSExt(Val, Builder.getInt64Ty());
else
- assert(Ty->getIntegerBitWidth() &&
- "Integer types larger 64 bit not supported");
+ llvm_unreachable("Integer types larger 64 bit not supported");
} else if (auto PtTy = dyn_cast<PointerType>(Ty)) {
if (PtTy->getAddressSpace() == 4) {
// Pointers in constant address space are printed as strings
OpenPOWER on IntegriCloud