diff options
Diffstat (limited to 'transform/optimizer.go')
-rw-r--r-- | transform/optimizer.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transform/optimizer.go b/transform/optimizer.go index 0c1d8a8f2..8e2ef7a83 100644 --- a/transform/optimizer.go +++ b/transform/optimizer.go @@ -151,6 +151,7 @@ func Optimize(mod llvm.Module, config *compileopts.Config, optLevel, sizeLevel i funcPasses.FinalizeFunc() // Run module passes. + // TODO: somehow set the PrepareForThinLTO flag in the pass manager builder. modPasses := llvm.NewPassManager() defer modPasses.Dispose() builder.Populate(modPasses) |