diff options
author | Samuel Benzaquen <sbenza@google.com> | 2016-04-19 15:52:56 +0000 |
---|---|---|
committer | Samuel Benzaquen <sbenza@google.com> | 2016-04-19 15:52:56 +0000 |
commit | d6b44aad313c3d3dbb1f0749301eb79e8a9ba32c (patch) | |
tree | c1481677f4c89f8b7199ad0a9ca78723cdd13040 /llvm/test/Linker/comdat14.ll | |
parent | bbfd5566401962352bd26085b73f1e445e68a0d8 (diff) | |
download | bcm5719-llvm-d6b44aad313c3d3dbb1f0749301eb79e8a9ba32c.tar.gz bcm5719-llvm-d6b44aad313c3d3dbb1f0749301eb79e8a9ba32c.zip |
[ASTMatchers] Do not try to memoize nodes we can't compare.
Summary:
Prevent hasAncestor from comparing nodes that are not supported.
hasDescendant was fixed some time ago to avoid this problem.
I'm applying the same fix to hasAncestor: if any object in the Builder map is
not comparable, skip the cache.
Reviewers: alexfh
Subscribers: klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D19231
llvm-svn: 266748
Diffstat (limited to 'llvm/test/Linker/comdat14.ll')
0 files changed, 0 insertions, 0 deletions