================ @@ -51887,6 +51887,47 @@ static SDValue combineOr(SDNode *N, SelectionDAG &DAG, } } + if (!Subtarget.isSHLDSlow()) { ---------------- RKSimon wrote: There's not a single comment in this entire patch :( https://github.com/llvm/llvm-project/pull/125734