[all-commits] [llvm/llvm-project] 9c2929: [LLD] [COFF] Fix export directives in object files...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Thu Aug 25 03:49:59 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c29291dfab4e4419b970de40afde4fae35eaf0b
      https://github.com/llvm/llvm-project/commit/9c29291dfab4e4419b970de40afde4fae35eaf0b
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M lld/COFF/Driver.cpp
    A lld/test/COFF/includeoptional-export.s

  Log Message:
  -----------
  [LLD] [COFF] Fix export directives in object files from -includeoptional

When an object file contains an export directive, we normally do some
amount of deferred processing of them at the end of the linking
process. The -includeoptional option was handled after this, and
any object files (defining new exports) weren't handled.

Move the handling of the -includeoptional into the same late loop
which does the fixups for e.g. export directives.

Ideally, this would also be done for object files that are pulled
in by the wrap options, and for mingw autoimports, but those changes
require more modifications, to make them safe for potentially
being executed multiple times.

This fixes https://github.com/llvm/llvm-project/issues/57243.

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

(cherry picked from commit af39e6f6fc905f3c067f022fb44136779d2f9c84)


  Commit: 3d3ef9d073e1e27ea57480b371b7f5a9f5642ed2
      https://github.com/llvm/llvm-project/commit/3d3ef9d073e1e27ea57480b371b7f5a9f5642ed2
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-f16c-v16f16-fadd.ll
    M llvm/test/CodeGen/X86/avx512-skx-v32f16-fadd.ll
    A llvm/test/CodeGen/X86/pr57340.ll

  Log Message:
  -----------
  [X86][FP16] Add the missing legal action for EXTRACT_SUBVECTOR

Fixes #57340

Reviewed By: RKSimon

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

(cherry picked from commit 12b203ea7c65071f9fc02d420b28d58dcdc5ad4a)


Compare: https://github.com/llvm/llvm-project/compare/e6f03d147678...3d3ef9d073e1


More information about the All-commits mailing list