[llvm-dev] Confused on how to do a machinefunction pass
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Fri Nov 6 08:34:50 PST 2015
On 11/6/2015 9:56 AM, fateme Hoseini via llvm-dev wrote:
>
> then I run make on mypass and remake llvm3.7\lib and llvm3.7\tool\llc.
> but when I run llc -help it doesn't show my pass. Did I miss some steps
> or did something wrong? What's the correct way to run the pass with llc
> command?
You cannot run individual passes from llc. Llc -help only shows the
available command-line options.
Try compiling some .ll file with the llc. You should see the message
that your pass it printing.
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list