diff mbox series

[24/42] llvm: upgrade 18.1.5 -> 18.1.6

Message ID 1716369289-22526-24-git-send-email-wangmy@fujitsu.com
State Accepted, archived
Commit 3cd5c40f5736506b2cfc23b180fa915b01d8220c
Headers show
Series [01/42] appstream: upgrade 1.0.2 -> 1.0.3 | expand

Commit Message

Mingyu Wang (Fujitsu) May 22, 2024, 9:14 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
==========
- 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.
- This patch fixes build failures when compiling AVX512 code using
  -march=native on machines without AVX512.
- Fixes crash in AArch64 backend when having true or false as operand for a
  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.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 meta/recipes-devtools/llvm/{llvm_18.1.5.bb => llvm_18.1.6.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/llvm/{llvm_18.1.5.bb => llvm_18.1.6.bb} (98%)

Comments

Khem Raj May 22, 2024, 7:57 p.m. UTC | #1
On Wed, May 22, 2024 at 2:15 AM wangmy via lists.openembedded.org
<wangmy=fujitsu.com@lists.openembedded.org> wrote:
>
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> Changelog:
> ==========
> - 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.
> - This patch fixes build failures when compiling AVX512 code using
>   -march=native on machines without AVX512.
> - Fixes crash in AArch64 backend when having true or false as operand for a
>   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.
>

I submitted this already via
https://lore.kernel.org/openembedded-core/20240521153514.271976-1-raj.khem@gmail.com/T/#u
but I like your commit message more. So perhaps this patch should be picked too
atleast the commit part

> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  meta/recipes-devtools/llvm/{llvm_18.1.5.bb => llvm_18.1.6.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/llvm/{llvm_18.1.5.bb => llvm_18.1.6.bb} (98%)
>
> diff --git a/meta/recipes-devtools/llvm/llvm_18.1.5.bb b/meta/recipes-devtools/llvm/llvm_18.1.6.bb
> similarity index 98%
> rename from meta/recipes-devtools/llvm/llvm_18.1.5.bb
> rename to meta/recipes-devtools/llvm/llvm_18.1.6.bb
> index 9c80b46b60..189f5b1146 100644
> --- a/meta/recipes-devtools/llvm/llvm_18.1.5.bb
> +++ b/meta/recipes-devtools/llvm/llvm_18.1.6.bb
> @@ -27,7 +27,7 @@ SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/
>             file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
>             file://llvm-config \
>             "
> -SRC_URI[sha256sum] = "3591a52761a7d390ede51af01ea73abfecc4b1d16445f9d019b67a57edd7de56"
> +SRC_URI[sha256sum] = "bd4b4cb6374bcd5fc5a3ba60cb80425d29da34f316b8821abc12c0db225cf6b4"
>
>  UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project"
>  UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#199722): https://lists.openembedded.org/g/openembedded-core/message/199722
> Mute This Topic: https://lists.openembedded.org/mt/106239638/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-devtools/llvm/llvm_18.1.5.bb b/meta/recipes-devtools/llvm/llvm_18.1.6.bb
similarity index 98%
rename from meta/recipes-devtools/llvm/llvm_18.1.5.bb
rename to meta/recipes-devtools/llvm/llvm_18.1.6.bb
index 9c80b46b60..189f5b1146 100644
--- a/meta/recipes-devtools/llvm/llvm_18.1.5.bb
+++ b/meta/recipes-devtools/llvm/llvm_18.1.6.bb
@@ -27,7 +27,7 @@  SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/
            file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
            file://llvm-config \
            "
-SRC_URI[sha256sum] = "3591a52761a7d390ede51af01ea73abfecc4b1d16445f9d019b67a57edd7de56"
+SRC_URI[sha256sum] = "bd4b4cb6374bcd5fc5a3ba60cb80425d29da34f316b8821abc12c0db225cf6b4"
 
 UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project"
 UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)"