From faa4bd1f0eed684712f19cd1a25fc1bf619a1edd Mon Sep 17 00:00:00 2001
From: Akash Kothari <akashk4@tyler.cs.illinois.edu>
Date: Thu, 9 Jan 2020 02:44:26 -0600
Subject: [PATCH] Marking isRoot function as const

---
 hpvm/include/SupportVISC/DFGraph.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hpvm/include/SupportVISC/DFGraph.h b/hpvm/include/SupportVISC/DFGraph.h
index 677b5f860d..a5d7252f40 100644
--- a/hpvm/include/SupportVISC/DFGraph.h
+++ b/hpvm/include/SupportVISC/DFGraph.h
@@ -313,7 +313,7 @@ public:
       DFInternalNode* _Parent, unsigned _NumOfDim, std::vector<Value*>
       _DimLimits, DFNodeKind _K);
 
-  bool isRoot() {
+  bool isRoot() const {
     // It is a root node is it was created from a launch intrinsic
     return II->getCalledFunction()->getName().equals("llvm.visc.launch");
   }
-- 
GitLab