diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-05-16 11:55:02 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-05-16 11:55:02 +0000 |
commit | 948366ac0b81af5a92c99ab4e09088cf865a7c69 (patch) | |
tree | 9dcb468b3b574649d0ffde00246ea1cb9f8162eb /llvm/lib/Support/SourceMgr.cpp | |
parent | 9ba87f4bfa506f93d3b216235571156e171247cf (diff) | |
download | llvm-948366ac0b81af5a92c99ab4e09088cf865a7c69.zip llvm-948366ac0b81af5a92c99ab4e09088cf865a7c69.tar.gz llvm-948366ac0b81af5a92c99ab4e09088cf865a7c69.tar.bz2 |
MergeFunctions Pass, introduced total ordering among GEP operations.
Patch replaces old isEquivalentGEP 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: 208976
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions