[llvm-dev] How to set command line option programmatically?
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Mon Jan 21 11:47:48 PST 2019
On 1/21/2019 1:36 PM, via llvm-dev wrote:
> Hello,
>
> i want to use the Scalarizer pass.
> (http://llvm.org/doxygen/Scalarizer_8cpp_source.html). This pass exposes
> the "scalarize-load-store"(default false) option on the command line.
> For my use-case i want to always enable this option. How can i enable
> this option programmatically?
You should be able to use ParseCommandLineOptions for that.
-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