aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/BuildLibCalls.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
commit3fddbb337dd5d8de5317df62e8027a6dcd778e73 (patch)
treef934cbe83b98a92abb029521b8917bfc5a168264 /lib/Transforms/Utils/BuildLibCalls.cpp
parent53c66eacc417c0113fba7159487b90005dc8f91e (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions