projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1d713
)
Change the default number of registers to prevent unrolling on targets that dont...
author
Nadav Rotem
<nrotem@apple.com>
Fri, 4 Jan 2013 18:40:39 +0000
(18:40 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Fri, 4 Jan 2013 18:40:39 +0000
(18:40 +0000)
llvm-svn: 171489
llvm/lib/Target/TargetTransformImpl.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/TargetTransformImpl.cpp
b/llvm/lib/Target/TargetTransformImpl.cpp
index
7d663f5
..
08795fc
100644
(file)
--- a/
llvm/lib/Target/TargetTransformImpl.cpp
+++ b/
llvm/lib/Target/TargetTransformImpl.cpp
@@
-172,7
+172,7
@@
VectorTargetTransformImpl::getScalarizationOverhead(Type *Ty,
}
unsigned VectorTargetTransformImpl::getNumberOfRegisters(bool Vector) const {
- return
8
;
+ return
1
;
}
unsigned VectorTargetTransformImpl::getArithmeticInstrCost(unsigned Opcode,