diff options
| author | Dan Gohman <gohman@apple.com> | 2010-04-11 23:10:12 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-04-11 23:10:12 +0000 |
| commit | af4ab1b681546d478d4a6f4332a8f0dfbc299f5f (patch) | |
| tree | 2c44685fd3fb607ae257f6387e1116c20f23c0c1 /llvm/lib/Support/ManagedStatic.cpp | |
| parent | cb13408f12d4eda9173836b6646f7e01356730c4 (diff) | |
| download | bcm5719-llvm-af4ab1b681546d478d4a6f4332a8f0dfbc299f5f.tar.gz bcm5719-llvm-af4ab1b681546d478d4a6f4332a8f0dfbc299f5f.zip | |
Teach IndVarSimplify how to eliminate comparisons involving induction
variables. For example, with code like this:
for (i=0;i<n;++i)
if (i<n)
x[i] = 0;
IndVarSimplify will now recognize that i is always less than n inside
the loop, and eliminate the if.
llvm-svn: 101000
Diffstat (limited to 'llvm/lib/Support/ManagedStatic.cpp')
0 files changed, 0 insertions, 0 deletions

