[PATCH] D59948: Support providing pass schedule to new passmanager as a YAML input

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 10:42:00 PDT 2019


serge-sans-paille created this revision.
serge-sans-paille added a reviewer: chandlerc.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In addition to the existing textual representation, offer the ability to use a YAML file to provide pass schedule specification.
Using a standard format for which LLVM has a parser would make integration with other tools easier.

One could also envision a world were -On configuration would be stored as .yml file within llvm, and a world where clang would load a custom config from a user-provided config file.

As a side effect, if the temporary schedule structure were saved has a class member, we could dump it back for free.


Repository:
  rL LLVM

https://reviews.llvm.org/D59948

Files:
  include/llvm/Passes/PassBuilder.h
  lib/Passes/PassBuilder.cpp
  test/MC/X86/intel-syntax-2.s
  unittests/IR/PassBuilderCallbacksTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59948.192678.patch
Type: text/x-patch
Size: 9322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190328/33cdf8b2/attachment.bin>


More information about the llvm-commits mailing list