Skip to content
Commit 4fa89827 authored by Chris Lattner's avatar Chris Lattner
Browse files

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.

llvm-svn: 19542
parent d35d210e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment