projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix rdar://7653908, a crash on a case where we would fold a load
[oota-llvm.git]
/
utils
/
TableGen
/
DAGISelMatcherGen.cpp
diff --git
a/utils/TableGen/DAGISelMatcherGen.cpp
b/utils/TableGen/DAGISelMatcherGen.cpp
index 84e9a3d03dd8998fad03397cfa8abdcd88bf781a..d32d3a7b132d957322b98fa19d25c9091e66f611 100644
(file)
--- a/
utils/TableGen/DAGISelMatcherGen.cpp
+++ b/
utils/TableGen/DAGISelMatcherGen.cpp
@@
-212,7
+212,6
@@
void MatcherGen::EmitOperatorMatchCode(const TreePatternNode *N,
//
const TreePatternNode *Root = Pattern.getSrcPattern();
if (N != Root) { // Not the root of the pattern.
-
// If there is a node between the root and this node, then we definitely
// need to emit the check.
bool NeedCheck = !Root->hasChild(N);