diff options
| author | Dan Gohman <gohman@apple.com> | 2010-08-27 15:26:01 +0000 | 
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-08-27 15:26:01 +0000 | 
| commit | 2706567c5caf4814cbdbf92b03c48e668dfffbda (patch) | |
| tree | 800459a4bceab0656abcf4910330b1329968bf8e /clang/lib/Frontend/CompilerInstance.cpp | |
| parent | ca158413946a3f9661d4731092bdf77715e6ab99 (diff) | |
| download | llvm-2706567c5caf4814cbdbf92b03c48e668dfffbda.zip llvm-2706567c5caf4814cbdbf92b03c48e668dfffbda.tar.gz llvm-2706567c5caf4814cbdbf92b03c48e668dfffbda.tar.bz2  | |
Optimize SCEVComplexityCompare. Use a 3-way return instead of a 2-way
return to avoid needing two calls to test for equivalence, and sort
addrecs by their degree before examining their operands.
llvm-svn: 112267
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions
