Files
llvm-project/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Alexis Engelke e8a4050263 [IR] Drop BasicBlockEdge::isSingleEdge (#186767)
This was only called on CondBr instructions, where it is always faster
to access the successors directly than to use successors().

Multi-edges don't dominate anything, so this rare case is often already
handled by dominates().

There is also a very small (hardly measurable) performance
improvement here (it did show up in profiles at 0.03% or so).
2026-03-16 13:28:48 +01:00

86 KiB