[all-commits] [llvm/llvm-project] 66af90: [darwin][driver] Pass through -global-isel LLVM fl...

Amara Emerson via All-commits all-commits at lists.llvm.org
Mon Mar 22 17:24:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66af90b46e1fe395806474dde2d49b8dc78bae1a
      https://github.com/llvm/llvm-project/commit/66af90b46e1fe395806474dde2d49b8dc78bae1a
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/darwin-ld-lto.c

  Log Message:
  -----------
  [darwin][driver] Pass through -global-isel LLVM flags to ld.

GlobalISel is currently not enabled when using -flto since the front-end
-mvllm flags don't get passed through. This change fixes this for Darwin
platforms. We have to do this in the driver because the code generator choice
isn't embedded into the bitcode file.

Differential Revision: https://reviews.llvm.org/D99126




More information about the All-commits mailing list