[llvm] r260766 - Fix Windows buildbot breakage.

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 15:51:07 PST 2016


Author: samsonov
Date: Fri Feb 12 17:51:06 2016
New Revision: 260766

URL: http://llvm.org/viewvc/llvm-project?rev=260766&view=rev
Log:
Fix Windows buildbot breakage.

Modified:
    llvm/trunk/lib/Target/Hexagon/HexagonBlockRanges.cpp

Modified: llvm/trunk/lib/Target/Hexagon/HexagonBlockRanges.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonBlockRanges.cpp?rev=260766&r1=260765&r2=260766&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonBlockRanges.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonBlockRanges.cpp Fri Feb 12 17:51:06 2016
@@ -20,6 +20,7 @@
 #include "llvm/CodeGen/MachineRegisterInfo.h"
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Target/TargetRegisterInfo.h"
+#include "llvm/Support/Compiler.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
 
@@ -368,9 +369,9 @@ void HexagonBlockRanges::computeInitialL
 HexagonBlockRanges::RegToRangeMap HexagonBlockRanges::computeLiveMap(
       InstrIndexMap &IndexMap) {
   RegToRangeMap LiveMap;
-  DEBUG(dbgs() << __func__ << ": index map\n" << IndexMap << '\n');
+  DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": index map\n" << IndexMap << '\n');
   computeInitialLiveRanges(IndexMap, LiveMap);
-  DEBUG(dbgs() << __func__ << ": live map\n"
+  DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": live map\n"
                << PrintRangeMap(LiveMap, TRI) << '\n');
   return LiveMap;
 }
@@ -433,7 +434,7 @@ HexagonBlockRanges::RegToRangeMap Hexago
     if (TargetRegisterInfo::isVirtualRegister(P.first.Reg))
       addDeadRanges(P.first);
 
-  DEBUG(dbgs() << __func__ << ": dead map\n"
+  DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": dead map\n"
                << PrintRangeMap(DeadMap, TRI) << '\n');
   return DeadMap;
 }




More information about the llvm-commits mailing list