commit | d072d1b2a36f6c6e1b4b513dc69e91b61ad8c21a | [log] [tgz] |
---|---|---|
author | Robert Lytton <robert@xmos.com> | Wed Sep 18 12:43:35 2013 +0000 |
committer | Robert Lytton <robert@xmos.com> | Wed Sep 18 12:43:35 2013 +0000 |
tree | 352624eb2bc4107396f55510201c2acbd682aebe | |
parent | af96481135473f8da6de06f5ad18c09bd376a50f [diff] |
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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190936 91177308-0d34-0410-b5e6-96231b3b80d8