diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-21 15:03:07 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-21 15:03:07 +0000 |
| commit | 3ae8bc68afb2ad1368ffdc780502b5812afc209b (patch) | |
| tree | d1f6c3b075e45bff88ed7aa6a06d9e73880af9d5 /clang/lib/AST/RecordLayoutBuilder.cpp | |
| parent | 2d1b1ad831289d002665c25cc7d88711e2fcf30a (diff) | |
| download | bcm5719-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/RecordLayoutBuilder.cpp')
0 files changed, 0 insertions, 0 deletions

