[Test Commit] fixing some format issue in X86TTI to match clang-format output.

llvm-svn: 291095
This commit is contained in:
Mohammed Agabaria 2017-01-05 09:51:02 +00:00
parent d697873892
commit 74ff99c1f4

View File

@ -80,9 +80,12 @@ unsigned X86TTIImpl::getNumberOfRegisters(bool Vector) {
unsigned X86TTIImpl::getRegisterBitWidth(bool Vector) {
if (Vector) {
if (ST->hasAVX512()) return 512;
if (ST->hasAVX()) return 256;
if (ST->hasSSE1()) return 128;
if (ST->hasAVX512())
return 512;
if (ST->hasAVX())
return 256;
if (ST->hasSSE1())
return 128;
return 0;
}