summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-13 01:46:36 +0000
committerDan Gohman <gohman@apple.com>2010-04-13 01:46:36 +0000
commit5867a56db8933d0af3ae70938d2ab80644e00966 (patch)
tree102f975b3e08046dbf50ff12efcaa56c09e9f757 /llvm/lib/Support/GraphWriter.cpp
parent77e41c1cc6b4a074e0b22323aa818550b97fa428 (diff)
downloadbcm5719-llvm-5867a56db8933d0af3ae70938d2ab80644e00966.tar.gz
bcm5719-llvm-5867a56db8933d0af3ae70938d2ab80644e00966.zip
Teach IndVarSimplify how to eliminate remainder operators where the
numerator is an induction variable. For example, with code like this: for (i=0;i<n;++i) x[i%n] = 0; IndVarSimplify will now recognize that i is always less than n inside the loop, and eliminate the remainder. llvm-svn: 101113
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud