Accepting request 1175712 from devel:tools:compiler

- Update to version 18.1.6.
  * Fixes issues where LLVM is either generating the incorrect thunk
    for a function with aligned parameters or didn't correctly pass
    through the return value when StructRet was used.
  * `-Xclang -target-feature -Xclang +unaligned-scalar-mem` can be
    used to enable unaligned scalar memory accesses for CPUs that
    do not support unaligned vector accesses. `-mno-strict-align`
    will enable unaligned scalar and vector memory accesses.
  * Don't replace an aliasee with an alias that has weak linkage.
    This avoids incorrect linkage that can lead to using the wrong
    symbols during linking time.
  * Fixes build failures when compiling AVX512 code using
    `-march=native` on machines without AVX512. The problem was
    introduced in LLVM 18.1.5.
  * Fixes crash in AArch64 backend when having `true` or `false` as
    operand for `fcmp` instruction on IR level.
  * Fixes compiler crash when user specifies `-mno-evex512` with
    AVX512 features but no AVX512VL.
  * Fixes a bug that tries to do VBROADCAST_LOAD for `f16` without
    AVX2.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1175712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=6
This commit is contained in:
Ana Guerrero 2024-05-23 13:34:35 +00:00 committed by Git OBS Bridge
commit f396e9fb89
59 changed files with 83 additions and 58 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82deec53b4535ae30fce3bcbb1a946020aaf8bdedc4f34ec025e29ee70678f1d
size 22152920

Binary file not shown.

3
clang-18.1.6.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54e0817f918b90b5f94684e9729ac2f9d3820fce040d6395d71c1f19ffa3b03c
size 22154228

BIN
clang-18.1.6.src.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b41f558b336730bdfd54b17dd000fff9e05a8882db3898b472b743083ceb642b
size 1764468

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a2a43eccc34272ef2b861f614423e344a2690cac034ad8913c0ce4a970b63ea
size 1764544

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45a377910d35ff248ebd7d78cd12238e0a36548d39af026730f2ba772c17ebab
size 3340156

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d78732ec6d55b7374abe14b97c9529a7b56a1fe19929a5bf4c3802b69f77764e
size 3340140

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfe1eb2d464168eefdfda72bbaaf1ec9b8314f5a6e68652b49699e7cb618304d
size 8704

Binary file not shown.

3
cmake-18.1.6.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a643261ed98ff76ab10f1a7039291fa841c292435ba1cfe11e235c2231b95cdb
size 8708

BIN
cmake-18.1.6.src.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a58fa6ce9b2d1653eaad384be4972cfdfde6dac11d2f7764f17eed801fe8c289
size 2470120

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f05f4e15a4524194c93303aa6027006a5182eccfe8f5c90491c2f1fbfcedb96b
size 2469304

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8fc4942a4681e19e7d177fb95551d50dbcd3b6b643970cb229d7a1ea4855a88
size 4030416

Binary file not shown.

3
libcxx-18.1.6.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25f5285a389a501c80c8d0dc8f24b2fa43ee73b65a603ae6433461458dd4ace6
size 4030580

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4240fd42582573a67ee4da59b9feb391ffbb4822857517492b9441db9abd702c
size 582836

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3f297cc083e82dfca0d7d52e19b6f4ed169728442fb806705f6b3c9112035f5
size 582764

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65e393560e52043e8517b5e67e75e3c2552ebc2737962d10cd89c0c7144f692f
size 1563228

Binary file not shown.

3
lld-18.1.6.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1f059c2bf98ffa558cd0c48ea568736c41f0c8029dabb53147d48b9efdaa802
size 1563616

BIN
lld-18.1.6.src.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:926224b8708053fc2106d11ad152a15c05551d68975a66e7b4d8426f7e213648
size 10600268

Binary file not shown.

3
lldb-18.1.6.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28d846e81d02646be5244c27229c91d349575427c3c0bcbc219f7f12d2e0c474
size 10599956

BIN
lldb-18.1.6.src.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a134e58cb98061b6b8f312fe9c174a646fa0c8691b5511c43795dc980dfd226
size 61988244

Binary file not shown.

3
llvm-18.1.6.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c231d0a5445db2aafab855e052c247bdd9856ff9d7d9bffdd04e9f0bf8d5366f
size 61987068

BIN
llvm-18.1.6.src.tar.xz.sig Normal file

Binary file not shown.

View File

@ -2,10 +2,10 @@ This has similar effect as simply deleting the static libraries which we don't
want after installation. By not copying them in the first place we reduce the
disk usage during installation.
Index: clang-18.1.5.src/cmake/modules/AddClang.cmake
Index: clang-18.1.6.src/cmake/modules/AddClang.cmake
===================================================================
--- a/clang-18.1.5.src/cmake/modules/AddClang.cmake
+++ b/clang-18.1.5.src/cmake/modules/AddClang.cmake
--- a/clang-18.1.6.src/cmake/modules/AddClang.cmake
+++ b/clang-18.1.6.src/cmake/modules/AddClang.cmake
@@ -106,12 +106,15 @@ macro(add_clang_library name)
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN)
@ -68,10 +68,10 @@ Index: cmake/modules/AddLLVM.cmake
endif()
if (ARG_MODULE)
set_target_properties(${name} PROPERTIES FOLDER "Loadable modules")
Index: lld-18.1.5.src/cmake/modules/AddLLD.cmake
Index: lld-18.1.6.src/cmake/modules/AddLLD.cmake
===================================================================
--- a/lld-18.1.5.src/cmake/modules/AddLLD.cmake
+++ b/lld-18.1.5.src/cmake/modules/AddLLD.cmake
--- a/lld-18.1.6.src/cmake/modules/AddLLD.cmake
+++ b/lld-18.1.6.src/cmake/modules/AddLLD.cmake
@@ -17,13 +17,6 @@ macro(add_lld_library name)
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
@ -86,10 +86,10 @@ Index: lld-18.1.5.src/cmake/modules/AddLLD.cmake
if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES)
add_llvm_install_targets(install-${name}
DEPENDS ${name}
Index: polly-18.1.5.src/cmake/polly_macros.cmake
Index: polly-18.1.6.src/cmake/polly_macros.cmake
===================================================================
--- a/polly-18.1.5.src/cmake/polly_macros.cmake
+++ b/polly-18.1.5.src/cmake/polly_macros.cmake
--- a/polly-18.1.6.src/cmake/polly_macros.cmake
+++ b/polly-18.1.6.src/cmake/polly_macros.cmake
@@ -42,15 +42,17 @@ macro(add_polly_library name)
llvm_config(${name} ${LLVM_LINK_COMPONENTS})
endif( LLVM_LINK_COMPONENTS )
@ -116,10 +116,10 @@ Index: polly-18.1.5.src/cmake/polly_macros.cmake
endmacro(add_polly_library)
macro(add_polly_loadable_module name)
Index: polly-18.1.5.src/lib/CMakeLists.txt
Index: polly-18.1.6.src/lib/CMakeLists.txt
===================================================================
--- a/polly-18.1.5.src/lib/CMakeLists.txt
+++ b/polly-18.1.5.src/lib/CMakeLists.txt
--- a/polly-18.1.6.src/lib/CMakeLists.txt
+++ b/polly-18.1.6.src/lib/CMakeLists.txt
@@ -109,7 +109,7 @@ set_target_properties(PollyCore PROPERTI
# It depends on all library it needs, such that with
# LLVM_POLLY_LINK_INTO_TOOLS=ON, its dependencies like PollyISL are linked as

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43f4e6957d0e081e98acc47b456b9d8563ab86819e59d0d7b63943891ccff0d3
size 7207744

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e5226f0871737311f8f893df32a5345e12a89f11dd003e72c27f74c83e3e621
size 7207620

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Tue May 21 21:06:41 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 18.1.6.
* Fixes issues where LLVM is either generating the incorrect thunk
for a function with aligned parameters or didn't correctly pass
through the return value when StructRet was used.
* `-Xclang -target-feature -Xclang +unaligned-scalar-mem` can be
used to enable unaligned scalar memory accesses for CPUs that
do not support unaligned vector accesses. `-mno-strict-align`
will enable unaligned scalar and vector memory accesses.
* Don't replace an aliasee with an alias that has weak linkage.
This avoids incorrect linkage that can lead to using the wrong
symbols during linking time.
* Fixes build failures when compiling AVX512 code using
`-march=native` on machines without AVX512. The problem was
introduced in LLVM 18.1.5.
* Fixes crash in AArch64 backend when having `true` or `false` as
operand for `fcmp` instruction on IR level.
* Fixes compiler crash when user specifies `-mno-evex512` with
AVX512 features but no AVX512VL.
* Fixes a bug that tries to do VBROADCAST_LOAD for `f16` without
AVX2.
- Rebase llvm-do-not-install-static-libraries.patch.
-------------------------------------------------------------------
Tue May 7 21:48:27 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -19,7 +19,7 @@
%global _sonum 18
%global _minor %{_sonum}.1
%global _soname %{_minor}%{?_sosuffix}
%global _patch_level 5
%global _patch_level 6
%global _relver %{_minor}.%{_patch_level}
%global _version %_relver%{?_rc:rc%_rc}
%global _tagver %_relver%{?_rc:-rc%_rc}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8a52437e2a714eb1243d7b877dbf0fbeaa7134ad7d65833c29b18d937439329
size 1320464

Binary file not shown.

3
openmp-18.1.6.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24ffd900fc7b707fda3a2d3b4aa011289d5a5fedff19c348dfdc4351f7063aae
size 1320476

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84f0a7b604155039a99fb2ee34489f19764d0bd63b473ba39bf5610a9b23c9db
size 9151916

Binary file not shown.

3
polly-18.1.6.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8351332b179291f9b988301b4751eeb69880fb5e32e0006ffa40d61b04b30c5b
size 9159444

BIN
polly-18.1.6.src.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af8442ae5a02a97b0f2a0c5ba0df00e1dab65caa27afa19b901003cc77177aaa
size 6788

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bf7f1a227d85da1df91597874d76aa50de2d13a562db276789d340852ab1033
size 6784

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7f60186a8e140d50f02f4cf426d800991cf37b99f5d40503cecb417291a25ed
size 402224

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ae7b394d341aea6fb7d3d373a4f561ba8e48c0fecded4bb4f1f5f12ba9bd2b6
size 402236

Binary file not shown.