https://github.com/krzysz00 approved this pull request. Looks good to me, I'll poke the compiler forks on post-commit review here as to whethere inttoptr (-1) is the right way to create the constant we're looking for https://github.com/llvm/llvm-project/pull/190498