kuhar wrote: You can make it contexpr while still keeping the macro. I'm not saying the new implementation with `if constexpr` is worse but that I don't know if it's better. https://github.com/llvm/llvm-project/pull/156812