nikic wrote: @artagnon You need to place the intrinsic in a code path that is not unconditionally executed on loop entry. (E.g. after early exit or abnormal exit.) https://github.com/llvm/llvm-project/pull/162334