]> granicus.if.org Git - llvm/commit
Revert "Restore with fix "[ThinLTO] Ensure we always select the same function copy...
authorTeresa Johnson <tejohnson@google.com>
Mon, 17 Jul 2017 19:25:38 +0000 (19:25 +0000)
committerTeresa Johnson <tejohnson@google.com>
Mon, 17 Jul 2017 19:25:38 +0000 (19:25 +0000)
commit98215808d6c3d2046b6c23ebe2a0679e4ffd2460
tree03dc5b6bf4a3fcda5b20e1d0fa8b1ccddb825236
parentebf3850de8599d5d0089da75180212e83d084aa6
Revert "Restore with fix "[ThinLTO] Ensure we always select the same function copy to import""

This reverts commit r308114 (and follow on fixes to test).

There is a linking failure in a ThinLTO bot:
http://green.lab.llvm.org/green/job/clang-stage2-configure-Rthinlto_build/3663/

(and undefined reference). It seems like it must be a second order
effect of the heuristic change I made, and may take some time to try
to reproduce locally and track down. Therefore, reverting for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308206 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionImport.cpp
test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll [deleted file]
test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll [deleted file]
test/Transforms/FunctionImport/funcimport_resolved.ll [deleted file]