artagnon wrote: Another high-level question: is it possible to not nest the test under RISCV? I realized that you've said it's disabled in BasicTTIImpl, but having a separate cas.ll under each target wouldn't be ideal, no? https://github.com/llvm/llvm-project/pull/106560