diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-05-16 11:02:22 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-05-16 11:02:22 +0000 |
commit | fa6820a035b98c52c251768611ac4470b036a28f (patch) | |
tree | f57687fa7dc2255cdbba704310b76cfc90f2aa74 /llvm/lib/Support/SourceMgr.cpp | |
parent | 6f9c46810298dd00dc95d4ffb60faf7d914ab978 (diff) | |
download | llvm-fa6820a035b98c52c251768611ac4470b036a28f.zip llvm-fa6820a035b98c52c251768611ac4470b036a28f.tar.gz llvm-fa6820a035b98c52c251768611ac4470b036a28f.tar.bz2 |
MergeFunctions Pass, introduced total ordering among operations.
Patch replaces old isEquivalentOperation implementation, and changes type of
comparison result from bool (equal or not) to {-1, 0, 1} (less, equal, greater).
This patch belongs to patch series that improves MergeFunctions
performance time from O(N*N) to O(N*log(N)).
llvm-svn: 208973
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions