ecnelises wrote: If this IR sequence doesn't change after instcombine currently, you can just add it in the patch. Also, maybe you can put it in files like `abs-1.ll` or `abs_abs.ll`. https://github.com/llvm/llvm-project/pull/79418