[llvm] r288505 - Tidyup code with indentation and clang-format. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 07:44:30 PST 2016
Author: rksimon
Date: Fri Dec 2 09:44:30 2016
New Revision: 288505
URL: http://llvm.org/viewvc/llvm-project?rev=288505&view=rev
Log:
Tidyup code with indentation and clang-format. NFCI.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=288505&r1=288504&r2=288505&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Fri Dec 2 09:44:30 2016
@@ -26002,12 +26002,12 @@ static bool matchBinaryPermuteVectorShuf
if (Mask[i] < 0)
Zeroable[i] = true;
- if (Zeroable.any())
- if (matchVectorShuffleAsInsertPS(V1, V2, PermuteImm, Zeroable, Mask, DAG)) {
- Shuffle = X86ISD::INSERTPS;
- ShuffleVT = MVT::v4f32;
- return true;
- }
+ if (Zeroable.any() &&
+ matchVectorShuffleAsInsertPS(V1, V2, PermuteImm, Zeroable, Mask, DAG)) {
+ Shuffle = X86ISD::INSERTPS;
+ ShuffleVT = MVT::v4f32;
+ return true;
+ }
}
return false;
More information about the llvm-commits
mailing list