This avoids the need for having global static initializers within the JITRunner support library, and only constructs the options when the runner is invoked.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D77760
[mlir][NFC] Wrap the cl::opts in JitRunner within a struct to avoid global initializers. ClosedPublic Authored by rriddle on Apr 8 2020, 3:18 PM.
Details Summary This avoids the need for having global static initializers within the JITRunner support library, and only constructs the options when the runner is invoked.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 8 2020, 5:47 PM Closed by commit rG293c5210ecb5: [mlir][NFC] Wrap the cl::opts in JitRunner within a struct to avoid global… (authored by rriddle). · Explain WhyApr 8 2020, 7:01 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 256160 mlir/lib/Support/JitRunner.cpp
|