From b3c7f14ec6095d76a67205ed458ba7f910b91549 Mon Sep 17 00:00:00 2001
From: Akash Kothari <akashk4@tyler.cs.illinois.edu>
Date: Mon, 21 Dec 2020 13:44:48 -0600
Subject: [PATCH] Fix the CMakelist file for InplaceDFG pass

---
 hpvm/lib/Transforms/InPlaceDFG/CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hpvm/lib/Transforms/InPlaceDFG/CMakeLists.txt b/hpvm/lib/Transforms/InPlaceDFG/CMakeLists.txt
index d034ae4976..75e97b9cf7 100644
--- a/hpvm/lib/Transforms/InPlaceDFG/CMakeLists.txt
+++ b/hpvm/lib/Transforms/InPlaceDFG/CMakeLists.txt
@@ -2,7 +2,8 @@ if(WIN32 OR CYGWIN)
   set(LLVM_LINK_COMPONENTS Core Support)
 endif()
 
-add_llvm_loadable_module( LLVMInPlaceDFGAnalysis
+add_llvm_library( LLVMInPlaceDFGAnalysis
+  MODULE
   InPlaceDFGAnalysis.cpp
 
   DEPENDS
@@ -10,3 +11,5 @@ add_llvm_loadable_module( LLVMInPlaceDFGAnalysis
   PLUGIN_TOOL
   opt
   )
+
+
-- 
GitLab