[llvm-dev] Registering a MachineFunctionPass

Erdem Derebaşoğlu via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 30 10:25:11 PDT 2015


Yes.

From: yaron.keren at gmail.com
Date: Mon, 28 Sep 2015 17:59:09 +0300
Subject: Re: [llvm-dev] Registering a MachineFunctionPass
To: erdemderebasoglu at hotmail.com
CC: llvm-dev at lists.llvm.org

Stupid question, was the source file added to CMakeLists.txt?

2015-09-28 15:10 GMT+03:00 Erdem Derebaşoğlu <erdemderebasoglu at hotmail.com>:


I had INITIALIZE_PASS_BEGIN and INITIALIZE_PASS_END macros. I replaced them with INITIALIZE_PASS but I get the same error. If I understand correctly, I need to modify Passes.h, InitializePasses.h, and Codegen.cpp files to register my pass, right? Another question is: Is it necessary to have the createNoopInserterPass function?
Erdem 		 	   		  

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150930/791dc56e/attachment.html>


More information about the llvm-dev mailing list