summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-11 23:10:12 +0000
committerDan Gohman <gohman@apple.com>2010-04-11 23:10:12 +0000
commitaf4ab1b681546d478d4a6f4332a8f0dfbc299f5f (patch)
tree2c44685fd3fb607ae257f6387e1116c20f23c0c1 /clang/lib/CodeGen/CGClass.cpp
parentcb13408f12d4eda9173836b6646f7e01356730c4 (diff)
downloadbcm5719-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 'clang/lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud