[llvm] r308052 - Fix mixed line terminators. NFC.

Dimitry Andric via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 14:14:58 PDT 2017


Author: dim
Date: Fri Jul 14 14:14:58 2017
New Revision: 308052

URL: http://llvm.org/viewvc/llvm-project?rev=308052&view=rev
Log:
Fix mixed line terminators. NFC.

Modified:
    llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp

Modified: llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp?rev=308052&r1=308051&r2=308052&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp (original)
+++ llvm/trunk/lib/CodeGen/XRayInstrumentation.cpp Fri Jul 14 14:14:58 2017
@@ -142,9 +142,9 @@ bool XRayInstrumentation::runOnMachineFu
       return false; // Invalid value for threshold.
 
     // Count the number of MachineInstr`s in MachineFunction
-    int64_t MICount = 0;
-    for (const auto& MBB : MF)
-      MICount += MBB.size();
+    int64_t MICount = 0;
+    for (const auto& MBB : MF)
+      MICount += MBB.size();
 
     // Check if we have a loop.
     // FIXME: Maybe make this smarter, and see whether the loops are dependent




More information about the llvm-commits mailing list