[libclc] [libclc] Remove __attribute__((always_inline)) (PR #158791)
Michał Górny via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 20 02:14:15 PDT 2025
mgorny wrote:
This is causing test failures for me:
```
Start testing: Sep 20 09:13 -00
----------------------------------------------------------
2/3 Testing: external-calls-amdgcn--amdhsa.bc
2/3 Test: external-calls-amdgcn--amdhsa.bc
Command: "/var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc/check_external_calls.sh" "/var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/amdgcn--amdhsa.bc" "/usr/lib/llvm/22/bin"
Directory: /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc
"external-calls-amdgcn--amdhsa.bc" start time: Sep 20 09:13 -00
Output:
----------------------------------------------------------
ERROR: 5 unresolved calls detected in /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/amdgcn--amdhsa.bc
%23 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %22) #20
%24 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %23) #20
%2 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %0) #20
%3 = tail call fastcc <16 x float> @_Z15__clc_remainderDv16_fS_(<16 x float> noundef %0, <16 x float> noundef %1) #20
%5 = tail call fastcc <16 x float> @_Z15__clc_remainderDv16_fS_(<16 x float> noundef %3, <16 x float> noundef %4) #20
<end of output>
Test time = 2.89 sec
----------------------------------------------------------
Test Failed.
"external-calls-amdgcn--amdhsa.bc" end time: Sep 20 09:13 -00
"external-calls-amdgcn--amdhsa.bc" time elapsed: 00:00:02
----------------------------------------------------------
3/3 Testing: external-calls-tahiti-amdgcn-mesa-mesa3d.bc
3/3 Test: external-calls-tahiti-amdgcn-mesa-mesa3d.bc
Command: "/var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc/check_external_calls.sh" "/var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/tahiti-amdgcn-mesa-mesa3d.bc" "/usr/lib/llvm/22/bin"
Directory: /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc
"external-calls-tahiti-amdgcn-mesa-mesa3d.bc" start time: Sep 20 09:13 -00
Output:
----------------------------------------------------------
ERROR: 5 unresolved calls detected in /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/tahiti-amdgcn-mesa-mesa3d.bc
%23 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %22) #22
%24 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %23) #22
%2 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %0) #22
%3 = tail call fastcc <16 x float> @_Z15__clc_remainderDv16_fS_(<16 x float> noundef %0, <16 x float> noundef %1) #22
%5 = tail call fastcc <16 x float> @_Z15__clc_remainderDv16_fS_(<16 x float> noundef %3, <16 x float> noundef %4) #22
<end of output>
Test time = 2.89 sec
----------------------------------------------------------
Test Failed.
"external-calls-tahiti-amdgcn-mesa-mesa3d.bc" end time: Sep 20 09:13 -00
"external-calls-tahiti-amdgcn-mesa-mesa3d.bc" time elapsed: 00:00:02
----------------------------------------------------------
1/3 Testing: external-calls-tahiti-amdgcn--.bc
1/3 Test: external-calls-tahiti-amdgcn--.bc
Command: "/var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc/check_external_calls.sh" "/var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/tahiti-amdgcn--.bc" "/usr/lib/llvm/22/bin"
Directory: /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc
"external-calls-tahiti-amdgcn--.bc" start time: Sep 20 09:13 -00
Output:
----------------------------------------------------------
ERROR: 5 unresolved calls detected in /var/tmp/portage/llvm-core/libclc-22.0.0.9999/work/libclc_build/tahiti-amdgcn--.bc
%23 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %22) #22
%24 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %23) #22
%2 = tail call fastcc <16 x float> @_Z9__clc_logDv16_f(<16 x float> noundef %0) #22
%3 = tail call fastcc <16 x float> @_Z15__clc_remainderDv16_fS_(<16 x float> noundef %0, <16 x float> noundef %1) #22
%5 = tail call fastcc <16 x float> @_Z15__clc_remainderDv16_fS_(<16 x float> noundef %3, <16 x float> noundef %4) #22
<end of output>
Test time = 2.90 sec
----------------------------------------------------------
Test Failed.
"external-calls-tahiti-amdgcn--.bc" end time: Sep 20 09:13 -00
"external-calls-tahiti-amdgcn--.bc" time elapsed: 00:00:02
----------------------------------------------------------
End testing: Sep 20 09:13 -00
```
https://github.com/llvm/llvm-project/pull/158791
More information about the cfe-commits
mailing list