[PATCH] D46093: Enable EliminateAvailableExternally pass for -O1

Vlad Tsyrklevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 25 16:10:50 PDT 2018


vlad.tsyrklevich created this revision.
vlad.tsyrklevich added a reviewer: tejohnson.
Herald added subscribers: llvm-commits, mehdi_amini.

Follow-up to https://reviews.llvm.org/D43690, the EliminateAvailableExternally pass currently
runs under -O0 and -O2 and up. Under -O1 we would still want to drop
available_externally symbols to reduce space without inlining having
run.


Repository:
  rL LLVM

https://reviews.llvm.org/D46093

Files:
  lib/Transforms/IPO/PassManagerBuilder.cpp
  test/Other/opt-O1-pipeline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46093.144034.patch
Type: text/x-patch
Size: 14055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180425/fd26a014/attachment.bin>


More information about the llvm-commits mailing list