[llvm] r214853 - [x86] Reformat some code I moved around in a prior commit but left

Chandler Carruth chandlerc at gmail.com
Tue Aug 5 03:35:30 PDT 2014


Author: chandlerc
Date: Tue Aug  5 05:35:30 2014
New Revision: 214853

URL: http://llvm.org/viewvc/llvm-project?rev=214853&view=rev
Log:
[x86] Reformat some code I moved around in a prior commit but left
poorly formatted. Sorry about that.

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=214853&r1=214852&r2=214853&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Aug  5 05:35:30 2014
@@ -7656,9 +7656,9 @@ static SDValue lowerV8I16BasicBlendVecto
         Mask[BadInputs[1]] = MoveMaskIdx + 1 + MaskOffset;
       } else {
         assert(BadInputs.size() == 1 && "All sizes handled");
-      int MoveMaskIdx =
-          std::find(std::begin(MoveMask) + MoveOffset, std::end(MoveMask), -1) -
-          std::begin(MoveMask);
+        int MoveMaskIdx = std::find(std::begin(MoveMask) + MoveOffset,
+                                    std::end(MoveMask), -1) -
+                          std::begin(MoveMask);
         MoveMask[MoveMaskIdx] = Mask[BadInputs[0]] - MaskOffset;
         Mask[BadInputs[0]] = MoveMaskIdx + MaskOffset;
       }





More information about the llvm-commits mailing list