[all-commits] [llvm/llvm-project] 38dbdd: [Internalize] Simplify comdat renaming with nodupl...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri May 28 16:58:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38dbdde7924cb1ab5919dc49bbd7d3ad420967f1
      https://github.com/llvm/llvm-project/commit/38dbdde7924cb1ab5919dc49bbd7d3ad420967f1
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-05-28 (Fri, 28 May 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Internalize.h
    M llvm/lib/Transforms/IPO/Internalize.cpp
    R llvm/test/Transforms/Internalize/comdat-empty-moduleid.ll
    M llvm/test/Transforms/Internalize/comdat.ll

  Log Message:
  -----------
  [Internalize] Simplify comdat renaming with noduplicates after D103043

I realized that we can use `comdat noduplicates` which is available on ELF.
Add a special case for wasm which doesn't support the feature.




More information about the All-commits mailing list