This patch in the strnlen series introduces a recursive function, LibCallSimplifier::minStringLength(), to handle calls with pointer arguments involving nested conditional expressions. This also enhances the folding of strlen. For strnlen, only constant bounds are handled.
Depends on D123818.
Can pass in IRBuilderBase by-reference? It seems like part of the changes here are just B. to B->.