commit | 4401c9cabee90b176049e7bc7792d67ed02d484f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Jan 14 00:20:05 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Jan 14 00:20:05 2005 +0000 |
tree | 1def67fd29e6f2a743ad31f2b8716acdb917546a | |
parent | 0b84c80c08a920b42458e8be00f8764d76ad00f1 [diff] |
if two gep comparisons only differ by one index, compare that index directly. This allows us to better optimize begin() -> end() comparisons in common cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19542 91177308-0d34-0410-b5e6-96231b3b80d8