I’m new to llvm, I wonder how to elegantly add a customed argument to llc?
I mean I want to add a flag llc -myflag
like this.
There are plenty of examples of using cl::opt
in llc.cpp.
I’m new to llvm, I wonder how to elegantly add a customed argument to llc?
I mean I want to add a flag llc -myflag
like this.
There are plenty of examples of using cl::opt
in llc.cpp.