IntEqClasses: Let join() return the new leader
authorMatthias Braun <matze@braunis.de>
Fri, 8 Jan 2016 01:16:39 +0000 (01:16 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 8 Jan 2016 01:16:39 +0000 (01:16 +0000)
commitaaf3afccffd0b45c0cea16421b5c9384e2c8d5f3
tree0bd506d3e9e97700be426e2d4fe0a7e56a1b4832
parentdcaeedf3f4b0fde4e5eb38cda5d463b7971a70a7
IntEqClasses: Let join() return the new leader

The new leader is known anyway so we can return it for some micro
optimization in code where it is easy to pass along the result to the
next join().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257130 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/IntEqClasses.h
lib/Support/IntEqClasses.cpp