[PATCH] D92094: [CostModel]Replace FixedVectorType by VectorType in costgetIntrinsicInstrCost
    Sander de Smalen via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Dec  3 02:30:45 PST 2020
    
    
  
sdesmalen added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/BasicTTIImpl.h:1331
     if (VF.isVector() && !RetTy->isVoidTy())
-      RetTy = FixedVectorType::get(RetTy, VF.getKnownMinValue());
+      RetTy = VectorType::get(RetTy, VF);
 
----------------
This should still use `FixedVectorType` 
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92094/new/
https://reviews.llvm.org/D92094
    
    
More information about the llvm-commits
mailing list