[llvm] r190936 - Prevent LoopVectorizer and SLPVectorizer running if the target has no vector registers.

Tobias Grosser tobias at grosser.es
Wed Sep 18 06:02:41 PDT 2013


On 09/18/2013 02:43 PM, Robert Lytton wrote:
> Author: rlytton
> Date: Wed Sep 18 07:43:35 2013
> New Revision: 190936
>
> URL: http://llvm.org/viewvc/llvm-project?rev=190936&view=rev
> Log:
> Prevent LoopVectorizer and SLPVectorizer running if the target has no vector registers.
>
> XCore target: Add XCoreTargetTransformInfo
> This is where getNumberOfRegisters() resides, which in turn returns the
> number of vector registers (=0).

This commit also causes the following cmake error:

CMake Error at cmake/modules/LLVMProcessSources.cmake:89 (message):
   Found unknown source file
 
/home/grosser/buildslave/polly-amd64-linux/llvm.src/lib/Target/XCore/XCoreTargetTransformInfo.cpp

   Please update
 
/home/grosser/buildslave/polly-amd64-linux/llvm.src/lib/Target/XCore/CMakeLists.txt

Tobias



More information about the llvm-commits mailing list