[llvm-dev] Disabling select instructions
John Regehr via llvm-dev
llvm-dev at lists.llvm.org
Fri Jan 31 16:17:00 PST 2020
On 1/31/20 5:02 PM, Charitha Saumya via llvm-dev wrote:
> I highly appreciate your suggestions/. /can someone explain how to add
> this type of pass to the optimization pipeline (probably point to code
> where optimization pipeline is built). Or can I do this using LLVM opt?
This will answer most of your questions:
http://llvm.org/docs/WritingAnLLVMPass.html
The easy way to go here is to write your pass out-of-tree and load it
dynamically.
John
More information about the llvm-dev
mailing list