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:
0c81450
)
Add an assertion if find_leader fails.
author
Owen Anderson
<resistor@mac.com>
Mon, 9 Jul 2007 23:57:18 +0000
(23:57 +0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 9 Jul 2007 23:57:18 +0000
(23:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38477
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/GVNPRE.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVNPRE.cpp
b/lib/Transforms/Scalar/GVNPRE.cpp
index 73739c161a978b398fff7002b7c694470f268081..4a5dca940988a3e0b13d362fdbc8ab984903e49b 100644
(file)
--- a/
lib/Transforms/Scalar/GVNPRE.cpp
+++ b/
lib/Transforms/Scalar/GVNPRE.cpp
@@
-695,6
+695,7
@@
Value* GVNPRE::find_leader(ValueNumberedSet& vals, uint32_t v) {
if (v == VN.lookup(*I))
return *I;
+ assert(0 && "No leader found, but present bit is set?");
return 0;
}