https://github.com/llvm/llvm-project/blob/33455825428f9e1b7998a66e228da7f6d483acf8/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp#L16729-L16733 I created #148252 to track this but really the work will be yak shaving the regressions on RISCV targets.