diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-02-15 22:03:36 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-02-15 22:03:36 +0000 |
| commit | e5cb76d7444bb3320b241e88f9c78635915f696d (patch) | |
| tree | 38528b111da3b243076ff5da42a3df896871841e /llvm/lib/Transforms/LevelRaise.cpp | |
| parent | 6781b6e62ecb74cf472f0ce2825fc8be90ce68cb (diff) | |
| download | bcm5719-llvm-e5cb76d7444bb3320b241e88f9c78635915f696d.tar.gz bcm5719-llvm-e5cb76d7444bb3320b241e88f9c78635915f696d.zip | |
make "trivial" unswitching significantly more general. It can now handle
this for example:
for (j = 0; j < N; ++j) { // trivial unswitch
if (C)
P[i+j] = 0;
}
turning it into the obvious code without bothering to duplicate an empty loop.
llvm-svn: 26220
Diffstat (limited to 'llvm/lib/Transforms/LevelRaise.cpp')
0 files changed, 0 insertions, 0 deletions

