[llvm] r299932 - Add MachineRegionInfoPassID to Passes.h.
Jan Sjodin via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 04:40:57 PDT 2017
Author: jsjodin
Date: Tue Apr 11 06:40:55 2017
New Revision: 299932
URL: http://llvm.org/viewvc/llvm-project?rev=299932&view=rev
Log:
Add MachineRegionInfoPassID to Passes.h.
Differential Revision: https://reviews.llvm.org/D31899
Modified:
llvm/trunk/include/llvm/CodeGen/Passes.h
llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp
Modified: llvm/trunk/include/llvm/CodeGen/Passes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/Passes.h?rev=299932&r1=299931&r2=299932&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/Passes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/Passes.h Tue Apr 11 06:40:55 2017
@@ -81,6 +81,9 @@ namespace llvm {
/// MachineDominanaceFrontier - This pass is a machine dominators analysis pass.
extern char &MachineDominanceFrontierID;
+ /// MachineRegionInfo - This pass computes SESE regions for machine functions.
+ extern char &MachineRegionInfoPassID;
+
/// EdgeBundles analysis - Bundle machine CFG edges.
extern char &EdgeBundlesID;
Modified: llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp?rev=299932&r1=299931&r2=299932&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp Tue Apr 11 06:40:55 2017
@@ -1,4 +1,3 @@
-
#include "llvm/CodeGen/MachineRegionInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/RegionInfoImpl.h"
@@ -123,6 +122,7 @@ LLVM_DUMP_METHOD void MachineRegionInfoP
#endif
char MachineRegionInfoPass::ID = 0;
+char &MachineRegionInfoPassID = MachineRegionInfoPass::ID;
INITIALIZE_PASS_BEGIN(MachineRegionInfoPass, DEBUG_TYPE,
"Detect single entry single exit regions", true, true)
More information about the llvm-commits
mailing list