summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/InheritViz.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-06-27 14:19:00 +0000
committerDuncan Sands <baldrick@free.fr>2012-06-27 14:19:00 +0000
commit514db117bd1058e76db43e1dcd032a245913d2c0 (patch)
treec2de958de7f45343da7e31eb2d57e85216d7797d /clang/lib/AST/InheritViz.cpp
parentd326a6cf9372618c8e6eb94cbb86a6df4a0e0831 (diff)
downloadbcm5719-llvm-514db117bd1058e76db43e1dcd032a245913d2c0.tar.gz
bcm5719-llvm-514db117bd1058e76db43e1dcd032a245913d2c0.zip
Some reassociate optimizations create new instructions, which they insert just
before the expression root. Any existing operators that are changed to use one of them needs to be moved between it and the expression root, and recursively for the operators using that one. When I rewrote RewriteExprTree I accidentally inverted the logic, resulting in the compacting going down from operators to operands rather than up from operands to the operators using them, oops. Fix this, resolving PR12963. llvm-svn: 159265
Diffstat (limited to 'clang/lib/AST/InheritViz.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud