[llvm-commits] [llvm] r165073 - in /llvm/trunk: include/llvm/ADT/SetVector.h lib/Transforms/Scalar/SROA.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Oct 2 17:48:50 PDT 2012


On Oct 2, 2012, at 5:43 PM, Chandler Carruth <chandlerc at gmail.com> wrote:

> I can go back to my original idea for solving this: make a predicate that calls the set_.erase(). I think that's slightly better than open coding any of these loops.... It's just a wrapper predicate.

I find an explicit loop orders of magnitude easier to read than template hacks, but that's just me.

/jakob




More information about the llvm-commits mailing list