ojhunt wrote: I can make a test for this at the clang level but this seems like it should be an llvm/ir test and I have no idea how to write it :D https://github.com/llvm/llvm-project/pull/152825