[llvm] r316973 - [X86] Clang-format some code. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 19:34:29 PDT 2017
Author: ctopper
Date: Mon Oct 30 19:34:29 2017
New Revision: 316973
URL: http://llvm.org/viewvc/llvm-project?rev=316973&view=rev
Log:
[X86] Clang-format some code. NFC
Modified:
llvm/trunk/lib/Target/X86/X86FastISel.cpp
Modified: llvm/trunk/lib/Target/X86/X86FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FastISel.cpp?rev=316973&r1=316972&r2=316973&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Mon Oct 30 19:34:29 2017
@@ -1354,9 +1354,15 @@ static unsigned X86ChooseCmpOpcode(EVT V
case MVT::i32: return X86::CMP32rr;
case MVT::i64: return X86::CMP64rr;
case MVT::f32:
- return X86ScalarSSEf32 ? (HasAVX512 ? X86::VUCOMISSZrr : HasAVX ? X86::VUCOMISSrr : X86::UCOMISSrr) : 0;
+ return X86ScalarSSEf32
+ ? (HasAVX512 ? X86::VUCOMISSZrr
+ : HasAVX ? X86::VUCOMISSrr : X86::UCOMISSrr)
+ : 0;
case MVT::f64:
- return X86ScalarSSEf64 ? (HasAVX512 ? X86::VUCOMISDZrr : HasAVX ? X86::VUCOMISDrr : X86::UCOMISDrr) : 0;
+ return X86ScalarSSEf64
+ ? (HasAVX512 ? X86::VUCOMISDZrr
+ : HasAVX ? X86::VUCOMISDrr : X86::UCOMISDrr)
+ : 0;
}
}
More information about the llvm-commits
mailing list