[PATCH] D46130: [NVPTX] Turn on Loop/SLP vectorization
    Justin Lebar via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Apr 26 10:49:13 PDT 2018
    
    
  
jlebar added inline comments.
================
Comment at: lib/Target/NVPTX/NVPTXTargetTransformInfo.h:53
+  // NVPTX has infinite registers of all kinds.
+  unsigned getNumberOfRegisters(bool Vector) const { return 1; }
+
----------------
Does 1 have specific meaning?  I don't see this in any of the comments, and that would be a pretty weird API...  (Like, did you mean -1?)
Repository:
  rL LLVM
https://reviews.llvm.org/D46130
    
    
More information about the llvm-commits
mailing list