diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-10-07 21:19:00 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-10-07 21:19:00 +0000 |
commit | c46cfcbbc623ec9f1f1070f4cf55200fdc681980 (patch) | |
tree | 4f451863fd0b27704610d4484146719310e4a990 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6ad1eb4b02523a08ef6583b9d9062e2e64e80d80 (diff) | |
download | llvm-c46cfcbbc623ec9f1f1070f4cf55200fdc681980.zip llvm-c46cfcbbc623ec9f1f1070f4cf55200fdc681980.tar.gz llvm-c46cfcbbc623ec9f1f1070f4cf55200fdc681980.tar.bz2 |
LoopUnroll: Create sub-loops in LoopInfo
`LoopUnrollPass` says that it preserves `LoopInfo` -- make it so. In
particular, tell `LoopInfo` about copies of inner loops when unrolling
the outer loop.
Conservatively, also tell `ScalarEvolution` to forget about the original
versions of these loops, since their inputs may have changed.
Fixes PR20987.
llvm-svn: 219241
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions