summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2014-02-01 18:00:25 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2014-02-01 18:00:25 +0000
commit991dd3bb9284c49549835687285c8bb4af81e2e7 (patch)
treef5644b3d1b18e7f23ee6c157d48d7e9b2f1ee5e2 /lib/Target
parent2d53a375732b044a3ec44bd41f17feed0eb8f064 (diff)
downloadllvm-991dd3bb9284c49549835687285c8bb4af81e2e7.tar.gz
llvm-991dd3bb9284c49549835687285c8bb4af81e2e7.tar.bz2
llvm-991dd3bb9284c49549835687285c8bb4af81e2e7.tar.xz
ARMTTI: We don't have 16 allocatable scalar registers
This caused an regression on libquantum after enabling the new loop vectorizer unroll heuristics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200616 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMTargetTransformInfo.cpp b/lib/Target/ARM/ARMTargetTransformInfo.cpp
index 25caa11b92..9aacee44c0 100644
--- a/lib/Target/ARM/ARMTargetTransformInfo.cpp
+++ b/lib/Target/ARM/ARMTargetTransformInfo.cpp
@@ -95,7 +95,7 @@ public:
if (ST->isThumb1Only())
return 8;
- return 16;
+ return 13;
}
unsigned getRegisterBitWidth(bool Vector) const {