[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:16:35 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-win` running on `as-builder-8` while building `llvm` at step 7 "test-build-unified-tree-check-llvm".

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

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

```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: ThinLTO/X86/ditemplatevalueparameter-remap.ll' FAILED ********************
Exit Code: 127

Command Output (stdout):
--
# RUN: at line 36
c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\opt.exe -module-summary -o C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\test\ThinLTO\X86\Output\ditemplatevalueparameter-remap.ll.tmp1.bc C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\ThinLTO\X86\ditemplatevalueparameter-remap.ll
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\opt.exe' -module-summary -o 'C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\test\ThinLTO\X86\Output\ditemplatevalueparameter-remap.ll.tmp1.bc' 'C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\ThinLTO\X86\ditemplatevalueparameter-remap.ll'
# RUN: at line 37
c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\opt.exe -module-summary -o C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\test\ThinLTO\X86\Output\ditemplatevalueparameter-remap.ll.tmp2.bc C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\ThinLTO\X86/Inputs/ditemplatevalueparameter-remap.ll
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\opt.exe' -module-summary -o 'C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\test\ThinLTO\X86\Output\ditemplatevalueparameter-remap.ll.tmp2.bc' 'C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\ThinLTO\X86/Inputs/ditemplatevalueparameter-remap.ll'
# RUN: at line 38
ld.lld --plugin-opt=thinlto-index-only -shared C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\test\ThinLTO\X86\Output\ditemplatevalueparameter-remap.ll.tmp1.bc C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\test\ThinLTO\X86\Output\ditemplatevalueparameter-remap.ll.tmp2.bc
# executed command: ld.lld --plugin-opt=thinlto-index-only -shared 'C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\test\ThinLTO\X86\Output\ditemplatevalueparameter-remap.ll.tmp1.bc' 'C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\test\ThinLTO\X86\Output\ditemplatevalueparameter-remap.ll.tmp2.bc'
# .---command stderr------------
# | 'ld.lld': command not found
# `-----------------------------
# error: command failed with exit status: 127

--

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


```

</details>

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


More information about the llvm-commits mailing list