arsenm wrote: Alternative https://github.com/llvm/llvm-project/pull/130011 Although really the problem is the builtin code is bypassing the normal ABI lowering paths for a call https://github.com/llvm/llvm-project/pull/129837