[PATCH] D68232: [DAGCombine] Match a greater range of rotate when not all bits are demanded.
    Simon Pilgrim via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 30 10:10:14 PDT 2019
    
    
  
RKSimon added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:548
+    SDValue MatchRotate(SDValue LHS, SDValue RHS, const SDLoc &DL);
+    SDValue MatchRotate(SDValue LHS, SDValue RHS, const SDLoc &DL,
+                        const APInt &DemandedBits);
----------------
The change to returning SDValue looks like an NFC that you can do right away?
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68232/new/
https://reviews.llvm.org/D68232
    
    
More information about the llvm-commits
mailing list