https://github.com/artagnon commented: Oh, it would be good to re-use DerivedIV here: I was trying that, and it's blocked on https://github.com/llvm/llvm-project/pull/205908 to avoid regressing the flags? https://github.com/llvm/llvm-project/pull/209453