Summary: | backport fix for LLVM bug 61396 | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | John F. Carr <jfc> | ||||
Component: | misc | Assignee: | freebsd-arm (Nobody) <freebsd-arm> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | dim, emaste, grahamperrin | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | arm | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
John F. Carr
2023-06-14 12:36:24 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=dbbaf77801a8f30e49731395e85757f339f345bf commit dbbaf77801a8f30e49731395e85757f339f345bf Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-06-19 18:32:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-06-19 18:33:33 +0000 Apply llvm fix for hanging gcc builds on 32-bit arm Merge commit 962c306a11d0 from llvm-project (by Florian Hahn): [LV] Don't consider pointer as uniform if it is also stored. Update isVectorizedMemAccessUse to also check if the pointer is stored. This prevents LV to incorrectly consider a pointer as uniform if it is used as both pointer and stored by the same StoreInst. Fixes #61396. PR: 271992 Reported by: John F. Carr <jfc@mit.edu> MFC after: 3 days .../llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=50593575e96b94f5de485c6216a870db44e487e0 commit 50593575e96b94f5de485c6216a870db44e487e0 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-06-19 18:44:06 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-06-19 18:44:06 +0000 devel/llvm16: update to 16.0.6 release Change the lite flavor to default to BE_FREEBSD rather than BE_NATIVE to allow its use in cross-build CI pipelines. Backport fix for LLVM bug 61396. [0] This fixes miscompilation of gcc on 32-bit arm. PR: 271992 [0] Reported by: jfc@mit.edu [0] devel/llvm16/Makefile | 4 +-- devel/llvm16/distinfo | 6 ++-- devel/llvm16/files/patch-backport-962c306a1 (new) | 42 +++++++++++++++++++++++ 3 files changed, 47 insertions(+), 5 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f67260aafd1cfb5eb91cfc72df80a00ef8b87e13 commit f67260aafd1cfb5eb91cfc72df80a00ef8b87e13 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-06-19 18:44:05 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-06-19 18:44:05 +0000 devel/llvm15: arm fixes, lite default change Change the lite flavor to default to BE_FREEBSD rather than BE_NATIVE to allow its use in cross-build CI pipelines. Backport fix for LLVM bug 61396. [0] This fixes miscompilation of gcc on 32-bit arm. Remove an obsolete patch which breaks arm64. [1] PR: 271992 [0], 271616 [1] Reported by: jfc@mit.edu [0,1] devel/llvm15/Makefile | 4 +- devel/llvm15/files/patch-backport-962c306a1 (new) | 42 ++++++++++ devel/llvm15/files/patch-freebsd-r352318 (gone) | 93 ----------------------- 3 files changed, 44 insertions(+), 95 deletions(-) A commit in branch 2023Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e81b0383c515efab7ffba838969f2cbb2656082 commit 5e81b0383c515efab7ffba838969f2cbb2656082 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-06-19 18:44:06 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-06-23 21:01:43 +0000 devel/llvm16: update to 16.0.6 release Change the lite flavor to default to BE_FREEBSD rather than BE_NATIVE to allow its use in cross-build CI pipelines. Backport fix for LLVM bug 61396. [0] This fixes miscompilation of gcc on 32-bit arm. PR: 271992 [0] Reported by: jfc@mit.edu [0] (cherry picked from commit 50593575e96b94f5de485c6216a870db44e487e0) devel/llvm16/Makefile | 4 +-- devel/llvm16/distinfo | 6 ++-- devel/llvm16/files/patch-backport-962c306a1 (new) | 42 +++++++++++++++++++++++ 3 files changed, 47 insertions(+), 5 deletions(-) A commit in branch 2023Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=880ad3b00f273d47831d183ac44f3b3074d0875a commit 880ad3b00f273d47831d183ac44f3b3074d0875a Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-06-19 18:44:05 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-06-23 21:01:37 +0000 devel/llvm15: arm fixes, lite default change Change the lite flavor to default to BE_FREEBSD rather than BE_NATIVE to allow its use in cross-build CI pipelines. Backport fix for LLVM bug 61396. [0] This fixes miscompilation of gcc on 32-bit arm. Remove an obsolete patch which breaks arm64. [1] PR: 271992 [0], 271616 [1] Reported by: jfc@mit.edu [0,1] (cherry picked from commit f67260aafd1cfb5eb91cfc72df80a00ef8b87e13) devel/llvm15/Makefile | 4 +- devel/llvm15/files/patch-backport-962c306a1 (new) | 42 ++++++++++ devel/llvm15/files/patch-freebsd-r352318 (gone) | 93 ----------------------- 3 files changed, 44 insertions(+), 95 deletions(-) A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1706d72e36a03da4e5c2bd166362dabf8f2b1d6a commit 1706d72e36a03da4e5c2bd166362dabf8f2b1d6a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-06-19 18:32:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-06-28 17:59:58 +0000 Apply llvm fix for hanging gcc builds on 32-bit arm Merge commit 962c306a11d0 from llvm-project (by Florian Hahn): [LV] Don't consider pointer as uniform if it is also stored. Update isVectorizedMemAccessUse to also check if the pointer is stored. This prevents LV to incorrectly consider a pointer as uniform if it is used as both pointer and stored by the same StoreInst. Fixes #61396. PR: 271992 Reported by: John F. Carr <jfc@mit.edu> MFC after: 3 days (cherry picked from commit dbbaf77801a8f30e49731395e85757f339f345bf) .../llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2846052cd44ec28a99af774127f578d626d6f368 commit 2846052cd44ec28a99af774127f578d626d6f368 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-06-19 18:32:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-06-28 18:00:06 +0000 Apply llvm fix for hanging gcc builds on 32-bit arm Merge commit 962c306a11d0 from llvm-project (by Florian Hahn): [LV] Don't consider pointer as uniform if it is also stored. Update isVectorizedMemAccessUse to also check if the pointer is stored. This prevents LV to incorrectly consider a pointer as uniform if it is used as both pointer and stored by the same StoreInst. Fixes #61396. PR: 271992 Reported by: John F. Carr <jfc@mit.edu> MFC after: 3 days (cherry picked from commit dbbaf77801a8f30e49731395e85757f339f345bf) .../llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) |