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:
9a9c9ff
)
MemorySSA: Update expensive checking version of def_chain_iterator for templating...
author
Daniel Berlin
<dberlin@dberlin.org>
Sat, 1 Apr 2017 10:04:28 +0000
(10:04 +0000)
committer
Daniel Berlin
<dberlin@dberlin.org>
Sat, 1 Apr 2017 10:04:28 +0000
(10:04 +0000)
llvm-svn: 299301
llvm/include/llvm/Transforms/Utils/MemorySSA.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Transforms/Utils/MemorySSA.h
b/llvm/include/llvm/Transforms/Utils/MemorySSA.h
index
25142cd
..
ac3c1cd
100644
(file)
--- a/
llvm/include/llvm/Transforms/Utils/MemorySSA.h
+++ b/
llvm/include/llvm/Transforms/Utils/MemorySSA.h
@@
-1092,7
+1092,7
@@
template <class T>
inline iterator_range<def_chain_iterator<T>>
def_chain(T MA, MemoryAccess *UpTo = nullptr) {
#ifdef EXPENSIVE_CHECKS
- assert((!UpTo || find(def_chain(MA), UpTo) != def_chain_iterator()) &&
+ assert((!UpTo || find(def_chain(MA), UpTo) != def_chain_iterator
<T>
()) &&
"UpTo isn't in the def chain!");
#endif
return make_range(def_chain_iterator<T>(MA), def_chain_iterator<T>(UpTo));