projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0464d9
)
[RuntimeDebugBuilder] Turn assert into an unreachable
author
Tobias Grosser
<tobias@grosser.es>
Wed, 18 Apr 2018 20:18:43 +0000
(20:18 +0000)
committer
Tobias Grosser
<tobias@grosser.es>
Wed, 18 Apr 2018 20:18:43 +0000
(20:18 +0000)
llvm-svn: 330289
polly/lib/CodeGen/RuntimeDebugBuilder.cpp
patch
|
blob
|
history
diff --git
a/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
b/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
index
16a7a4c
..
e127673
100644
(file)
--- 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