[llvm] [DAG][X86] Bitfield insertion can combine into SHL + SHRD (PR #220182)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 06:57:59 PDT 2026
================
@@ -8867,6 +8867,49 @@ static SDValue visitORCommutative(SelectionDAG &DAG, SDValue N0, SDValue N1,
return SDValue();
}
+// Fold an OR with a masked destination and a left-shifted
+// source into a shift + double-precision shift (SHRD):
----------------
RKSimon wrote:
```suggestion
// source into a shift + double-precision shift (FSHR):
```
https://github.com/llvm/llvm-project/pull/220182
More information about the llvm-commits
mailing list