[PATCH] D117954: [RISCV] Add DAG combines to transform ADD_VL/SUB_VL into widening add/sub.
    Craig Topper via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jan 27 00:48:56 PST 2022
    
    
  
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:7261
+
+  // Determine the narrow size for a widening multiply.
+  unsigned NarrowSize = VT.getScalarSizeInBits() / 2;
----------------
rogfer01 wrote:
> I'm confused by this reference to "widening multiply". I fail to see anything about widening multiplies in this patch.
Copy paste from the widening mul function.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117954/new/
https://reviews.llvm.org/D117954
    
    
More information about the llvm-commits
mailing list