mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-06 12:04:52 +00:00
Change the default number of registers to prevent unrolling on targets that dont have this hook.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
642469f582
commit
5d592d202a
@ -172,7 +172,7 @@ VectorTargetTransformImpl::getScalarizationOverhead(Type *Ty,
|
||||
}
|
||||
|
||||
unsigned VectorTargetTransformImpl::getNumberOfRegisters(bool Vector) const {
|
||||
return 8;
|
||||
return 1;
|
||||
}
|
||||
|
||||
unsigned VectorTargetTransformImpl::getArithmeticInstrCost(unsigned Opcode,
|
||||
|
Loading…
Reference in New Issue
Block a user