summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/NVPTX/loop-vectorize.ll
Commit message (Collapse)AuthorAgeFilesLines
* [NVPTX] declare no vector registersJingyue Wu2015-07-101-0/+39
Summary: Without this patch, LoopVectorizer in certain cases (see loop-vectorize.ll) produces code with complex control flow which hurts later optimizations. Since NVPTX doesn't have vector registers in LLVM's sense (NVPTXTTI::getRegisterBitWidth(true) == 32), we for now declare no vector registers to effectively disable loop vectorization. Reviewers: jholewinski Subscribers: jingyue, llvm-commits, jholewinski Differential Revision: http://reviews.llvm.org/D11089 llvm-svn: 241884
OpenPOWER on IntegriCloud