[llvm] r291095 - [Test Commit] fixing some format issue in X86TTI to match clang-format output.
Mohammed Agabaria via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 01:51:02 PST 2017
Author: magabari
Date: Thu Jan 5 03:51:02 2017
New Revision: 291095
URL: http://llvm.org/viewvc/llvm-project?rev=291095&view=rev
Log:
[Test Commit] fixing some format issue in X86TTI to match clang-format output.
Modified:
llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp?rev=291095&r1=291094&r2=291095&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp Thu Jan 5 03:51:02 2017
@@ -80,9 +80,12 @@ unsigned X86TTIImpl::getNumberOfRegister
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;
}
More information about the llvm-commits
mailing list