projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
531e80f
)
[SCCP] More informative message if we don't know how to handle a terminator.
author
Davide Italiano
<davide@freebsd.org>
Wed, 25 Nov 2015 21:03:36 +0000
(21:03 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Wed, 25 Nov 2015 21:03:36 +0000
(21:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254093
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/SCCP.cpp
b/lib/Transforms/Scalar/SCCP.cpp
index 4362030b23180c52fb8783189e6915f880ea9485..52281d4e04463fae73eaf7a9651206c6e969c18f 100644
(file)
--- a/
lib/Transforms/Scalar/SCCP.cpp
+++ b/
lib/Transforms/Scalar/SCCP.cpp
@@
-636,7
+636,7
@@
bool SCCPSolver::isEdgeFeasible(BasicBlock *From, BasicBlock *To) {
#ifndef NDEBUG
dbgs() << "Unknown terminator instruction: " << *TI << '\n';
#endif
- llvm_unreachable(
nullptr
);
+ llvm_unreachable(
"SCCP: Don't know how to handle this terminator!"
);
}
// visit Implementations - Something changed in this instruction, either an