constexpr evaluation results are needed in the frontend long before LLVM IR ever comes into the picture.
Also, people have done interesting things in constexpr that currently suffer from slow compile times: https://github.com/hanickadot/compile-time-regular-expressio...