[llvm] [ThinLTO] Do not duplicate import a function that is actually defined in the current module (PR #110064)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 15:12:45 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building `llvm` at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/133/builds/5038

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: ThinLTO/X86/ditemplatevalueparameter-remap.ll' FAILED ********************
Exit Code: 127

Command Output (stderr):
--
RUN: at line 36: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt -module-summary -o /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt -module-summary -o /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll
RUN: at line 37: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt -module-summary -o /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp2.bc /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/ThinLTO/X86/Inputs/ditemplatevalueparameter-remap.ll
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt -module-summary -o /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp2.bc /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/ThinLTO/X86/Inputs/ditemplatevalueparameter-remap.ll
RUN: at line 38: ld.lld --plugin-opt=thinlto-index-only -shared /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp2.bc
+ ld.lld --plugin-opt=thinlto-index-only -shared /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp2.bc
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.script: line 3: ld.lld: command not found

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/110064


More information about the llvm-commits mailing list