summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtViz.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-10-21 15:03:07 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-10-21 15:03:07 +0000
commit3ae8bc68afb2ad1368ffdc780502b5812afc209b (patch)
treed1f6c3b075e45bff88ed7aa6a06d9e73880af9d5 /clang/lib/AST/StmtViz.cpp
parent2d1b1ad831289d002665c25cc7d88711e2fcf30a (diff)
downloadbcm5719-llvm-3ae8bc68afb2ad1368ffdc780502b5812afc209b.tar.gz
bcm5719-llvm-3ae8bc68afb2ad1368ffdc780502b5812afc209b.zip
LoopIdiom: Replace custom dependence analysis with LoopDependenceAnalysis.
Requires a lot less code and complexity on loop-idiom's side and the more precise analysis can catch more cases, like the one I included as a test case. This also fixes the edge-case miscompilation from PR9481. I'm not entirely sure that all cases are handled that the old checks handled but LDA will certainly become smarter in the future. llvm-svn: 166390
Diffstat (limited to 'clang/lib/AST/StmtViz.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud