summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2012-11-11 22:14:55 +0000
committerDaniel Jasper <djasper@google.com>2012-11-11 22:14:55 +0000
commit33806cdefcffb091515bc329158d8c05714aa01a (patch)
treec6e61cc59a7223c299e05c11f30a32d6fe125c3b /llvm/lib/Transforms
parent07351f8e78b415907342591a5a067e9efcd837e4 (diff)
downloadbcm5719-llvm-33806cdefcffb091515bc329158d8c05714aa01a.tar.gz
bcm5719-llvm-33806cdefcffb091515bc329158d8c05714aa01a.zip
Fix binding of nodes in case of forEach..() matchers.
When recursively visiting the generated matches, the aggregated bindings need to be copied during the recursion. Otherwise, we they might not be properly overwritten (which is shown by the test), or there might be bound nodes present that were bound on a different matching branch. Review: http://llvm-reviews.chandlerc.com/D112 llvm-svn: 167695
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud