https://github.com/nikic requested changes to this pull request. If the pseudoprobe arguments are supposed to be constant integers, they must be marked as `immarg` in the intrinsic definition, which will also automatically prevent this kind of sinking. https://github.com/llvm/llvm-project/pull/224669