[PATCH] D72386: [ThinLTO] pass UnrollLoops/VectorizeLoop/VectorizeSLP in CGOpts down to pass builder in ltobackend

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 09:33:55 PST 2020


tejohnson added a comment.

In D72386#1810284 <https://reviews.llvm.org/D72386#1810284>, @wmi wrote:

> Teresa, do we have existing tests where I can add some check to see if some passes are executed for the lld and gold plugin changes?


I don't see any. There is a test for each that -debug-pass-manager and new-pass-manager are passed through correctly:
test/tools/gold/X86/new-pm.ll
lld/test/ELF/lto/new-pass-manager.ll

Perhaps those can be extended to actually check the passes that get enabled, similar to llvm/test/Other/new-pm-thinlto-defaults.ll?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72386/new/

https://reviews.llvm.org/D72386





More information about the llvm-commits mailing list