diff options
| author | Dan Gohman <gohman@apple.com> | 2010-03-02 19:32:21 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-03-02 19:32:21 +0000 |
| commit | d55f574589de4465629b7d2b3b20ad12b1b68671 (patch) | |
| tree | 78ffa1e0e6f9d1f0bb77ee0ae39e88860e27ecf7 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 5f6bea713b7b293ba3473f3b4e66fc54957891e5 (diff) | |
| download | llvm-d55f574589de4465629b7d2b3b20ad12b1b68671.zip llvm-d55f574589de4465629b7d2b3b20ad12b1b68671.tar.gz llvm-d55f574589de4465629b7d2b3b20ad12b1b68671.tar.bz2 | |
When expanding an expression such as (A + B + C + D), sort the operands
by loop depth and emit loop-invariant subexpressions outside of loops.
This speeds up MultiSource/Applications/viterbi and others.
llvm-svn: 97580
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
