[PATCH] D31141: [AMDGPU] Run always inliner early in opt

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 11:02:07 PDT 2017


rampitec added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:98
+// Option to enable early inlining.
+static cl::opt<bool> EnableEarlyInline(
+  "amdgpu-early-inline",
----------------
No need in separate option. It falls under the same ideology as internalize. Having a separate option would mean we need pass it from RT as well.


https://reviews.llvm.org/D31141





More information about the llvm-commits mailing list