[PATCH] D120641: [RISCV] Add codegen for vp.fptosi.
    Craig Topper via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar  7 10:16:03 PST 2022
    
    
  
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:6103
+      unsigned ExtOpcode = RISCVISDOpc == RISCVISD::UINT_TO_FP_VL
+                               ? ISD::ZERO_EXTEND
+                               : ISD::SIGN_EXTEND;
----------------
Shouldn't this be a node that uses VL and mask?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120641/new/
https://reviews.llvm.org/D120641
    
    
More information about the llvm-commits
mailing list