[llvm] Revert "[CFI] Create an external linkage alias instead of promoting i… (PR #220339)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 17:47:22 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `intel-sycl-gpu` running on `intel-sycl-gpu-01` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# RUN: at line 7
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/llvm-modextract -b -n 0 -o - /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/llvm-dis | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck --check-prefix=M0 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/llvm-modextract -b -n 0 -o - /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/llvm-dis
# executed command: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/bin/FileCheck --check-prefix=M0 /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# .---command stderr------------
# | /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll:13:7: error: M0: expected string not found in input
# | ; M0: @f.{{[0-9a-f]+}} = hidden alias ptr, ptr @f
# |       ^
# | <stdin>:9:78: note: scanning from here
# | @vtable.61b17fea1cac8585b7466274677b349b = external hidden constant [1 x ptr], !guid !0
# |                                                                              ^
# | <stdin>:22:12: note: possible intended match here
# | !1 = !{i32 1, !"EnableSplitLTOUnit", i32 1}
# |            ^
# | 
# | Input file: <stdin>
# | Check file: /home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll" 
# |             3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# |             4: target triple = "x86_64-unknown-linux-gnu" 
# |             5:  
# |             6: module asm 
# |             7:  ".lto_set_conditional f,f.61b17fea1cac8585b7466274677b349b" 
# |             8:  
# |             9: @vtable.61b17fea1cac8585b7466274677b349b = external hidden constant [1 x ptr], !guid !0 
# | check:13'0                                                                                 {             search range start (exclusive)
# | check:13'1                                                                                               error: no match found in search range
# |            10:  
# |            11: define hidden void @f.61b17fea1cac8585b7466274677b349b() !guid !2 { 
# |            12:  ret void 
# |            13: } 
# |            14:  
# |            15: define ptr @use() !guid !3 { 
# |            16:  ret ptr @vtable.61b17fea1cac8585b7466274677b349b 
# |            17: } 
...

```

</details>

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


More information about the llvm-commits mailing list