[all-commits] [llvm/llvm-project] a40b0c: [WPD] Update llvm.public.type.test after importing...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Thu May 11 09:10:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a40b0c3e77a28b8dee5af7f9d9cdc9ad5919077e
https://github.com/llvm/llvm-project/commit/a40b0c3e77a28b8dee5af7f9d9cdc9ad5919077e
Author: Teresa Johnson <tejohnson at google.com>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M clang/test/CodeGenCXX/thinlto_public_type_test_distributed.ll
M lld/test/ELF/lto/update_public_type_test.ll
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/test/ThinLTO/X86/devirt_vcall_vis_public.ll
M llvm/test/ThinLTO/X86/public-type-test.ll
Log Message:
-----------
[WPD] Update llvm.public.type.test after importing functions
I noticed that we are converting llvm.public.type.test to regular
llvm.type.test too early, and thus not updating those in imported
functions. This would result in losing out on WPD opportunities. Move
the update to after function importing, and improve test to cover this
case.
Differential Revision: https://reviews.llvm.org/D150326
More information about the All-commits
mailing list