[PATCH] D87047: [clang] Add command line options for the Machine Function Splitter.

Snehasish Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 9 17:34:50 PDT 2020


snehasish updated this revision to Diff 290852.
snehasish added a comment.

Add a check for x86-elf.

- Add a check for the triple in the driver to only enable the flag on x86+elf targets.
- Add a test to ensure we don't enable this on other targets.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87047

Files:
  clang/docs/ClangCommandLineReference.rst
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Basic/DiagnosticFrontendKinds.td
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/BackendUtil.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/split-machine-functions.c
  clang/test/Driver/fsplit-machine-functions.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87047.290852.patch
Type: text/x-patch
Size: 7083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200910/ab2285ff/attachment.bin>


More information about the cfe-commits mailing list