diff options
| author | Dan Gohman <gohman@apple.com> | 2010-04-12 21:13:43 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-04-12 21:13:43 +0000 |
| commit | 4a645b88ef38178076b7a52d7b2e97abfa1b2d2b (patch) | |
| tree | c3957fd9292fc26ce710a2f81af6740f1aec0024 /clang/lib/CodeGen/CGExprComplex.cpp | |
| parent | 933f67887fcce41e73655b33da237e6bc61a46ea (diff) | |
| download | llvm-4a645b88ef38178076b7a52d7b2e97abfa1b2d2b.zip llvm-4a645b88ef38178076b7a52d7b2e97abfa1b2d2b.tar.gz llvm-4a645b88ef38178076b7a52d7b2e97abfa1b2d2b.tar.bz2 | |
Suppress LinearFunctionTestReplace when the computed backedge-taken
expression is a UDiv and it doesn't appear that the UDiv came from
the user's source.
ScalarEvolution has recently figured out how to compute a tripcount
expression for the inner loop in
SingleSource/Benchmarks/Shootout/sieve.c, using a udiv. Emitting a
udiv instruction dramatically slows down the enclosing loop.
llvm-svn: 101068
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
