[PATCH] D118197: [OpenMP] Replace sysmtem call to `llc` with target machine

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 14:49:03 PST 2022


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, JonChesterfield, ronlieb, saiislam.
Herald added subscribers: mikhail.ramalho, guansong, yaxunl, mgorny.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.

This patch replaces the system call to the `llc` binary with a library
call to the target machine interface. This should be faster than
relying on an external system call to compile the final wrapper binary.

Depends on D118155 <https://reviews.llvm.org/D118155>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118197

Files:
  clang/tools/clang-linker-wrapper/CMakeLists.txt
  clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118197.403042.patch
Type: text/x-patch
Size: 4441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220125/29d91e81/attachment.bin>


More information about the cfe-commits mailing list