From 8eb23386110a561485259e8ad0772267639a533c Mon Sep 17 00:00:00 2001
From: akashk4 <akashk4@illinois.edu>
Date: Tue, 28 Jan 2020 08:58:44 -0600
Subject: [PATCH] Added a description for LocalMem pass in LocalMem.cpp

---
 hpvm/lib/Transforms/LocalMem/LocalMem.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hpvm/lib/Transforms/LocalMem/LocalMem.cpp b/hpvm/lib/Transforms/LocalMem/LocalMem.cpp
index fc33ebee71..5cc134874c 100644
--- a/hpvm/lib/Transforms/LocalMem/LocalMem.cpp
+++ b/hpvm/lib/Transforms/LocalMem/LocalMem.cpp
@@ -6,6 +6,12 @@
 // License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
+//
+// This pass traverses the dataflow graph to recognize the allocation nodes which
+// allocate scratch memory. This pass does not make changes to the textual 
+// representation of HPVM IR.
+//
+//===----------------------------------------------------------------------===//
 
 #define DEBUG_TYPE "LocalMem"
 #include "SupportHPVM/DFG2LLVM.h"
-- 
GitLab