[PATCH] D146876: [ThinLTO] Only import for non-prevailing interposable global variables

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 25 09:30:04 PDT 2023


smeenai updated this revision to Diff 508318.
smeenai added a comment.

Fix dummy isPrevailing to always return true instead of false


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146876

Files:
  llvm/include/llvm/Transforms/IPO/FunctionImport.h
  llvm/lib/LTO/LTO.cpp
  llvm/lib/LTO/ThinLTOCodeGenerator.cpp
  llvm/lib/Transforms/IPO/FunctionImport.cpp
  llvm/test/ThinLTO/X86/nonprevailing_weak_globals_import.ll
  llvm/test/ThinLTO/X86/prevailing_weak_globals_import.ll
  llvm/test/ThinLTO/X86/weak_globals_import.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146876.508318.patch
Type: text/x-patch
Size: 20287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230325/21f5f362/attachment.bin>


More information about the llvm-commits mailing list