forked from OSchip/llvm-project
parent
5b06e4d319
commit
6f72eba606
|
@ -80,11 +80,11 @@ unsigned X86TTIImpl::getNumberOfRegisters(bool Vector) {
|
|||
|
||||
unsigned X86TTIImpl::getRegisterBitWidth(bool Vector) {
|
||||
if (Vector) {
|
||||
if (ST->hasAVX512())
|
||||
if (ST->hasAVX512())
|
||||
return 512;
|
||||
if (ST->hasAVX())
|
||||
if (ST->hasAVX())
|
||||
return 256;
|
||||
if (ST->hasSSE1())
|
||||
if (ST->hasSSE1())
|
||||
return 128;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue