DianQK wrote: The other thing that makes sense to me is that if instead of generating a lookup table, we generate simpler instructions, we can bring it forward. https://github.com/llvm/llvm-project/pull/95665