git: d9e2a160058e - main - devel/llvm19: 19.1.0-rc3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Aug 2024 19:23:38 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9e2a160058e1a884b266702c6249b7a20d18fcb commit d9e2a160058e1a884b266702c6249b7a20d18fcb Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-08-27 19:23:24 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-08-27 19:23:24 +0000 devel/llvm19: 19.1.0-rc3 Sponsored by: DARPA, AFRL --- devel/llvm19/Makefile | 2 +- devel/llvm19/Makefile.COMMANDS | 2 - devel/llvm19/distinfo | 6 +-- .../files/patch-backport-freebsd-397c2693fa6 | 43 ---------------------- devel/llvm19/pkg-plist | 7 ---- 5 files changed, 4 insertions(+), 56 deletions(-) diff --git a/devel/llvm19/Makefile b/devel/llvm19/Makefile index 73d9cec01335..3762328ec186 100644 --- a/devel/llvm19/Makefile +++ b/devel/llvm19/Makefile @@ -1,5 +1,5 @@ PORTNAME= llvm -DISTVERSION= 19.1.0-rc2 +DISTVERSION= 19.1.0-rc3 PORTREVISION= 0 CATEGORIES= devel lang MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION}/ diff --git a/devel/llvm19/Makefile.COMMANDS b/devel/llvm19/Makefile.COMMANDS index 1abd2cef06be..0754ccba9a10 100644 --- a/devel/llvm19/Makefile.COMMANDS +++ b/devel/llvm19/Makefile.COMMANDS @@ -10,7 +10,6 @@ LLVM_COMMANDS= \ llvm-bitcode-strip \ llvm-cat \ llvm-cfi-verify \ - llvm-cgdata \ llvm-config \ llvm-cov \ llvm-cvtres \ @@ -116,7 +115,6 @@ FLANG_COMMANDS= \ bbc \ f18-parse-demo \ fir-opt \ - flang \ flang-new \ tco diff --git a/devel/llvm19/distinfo b/devel/llvm19/distinfo index 56ef5f2166f3..429c3558117b 100644 --- a/devel/llvm19/distinfo +++ b/devel/llvm19/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1722873335 -SHA256 (llvm-project-19.1.0-rc2.src.tar.xz) = e6a72922f6999ce02a1da46059b479fc15fbd474eef0f3689a28cede0e8f1d86 -SIZE (llvm-project-19.1.0-rc2.src.tar.xz) = 141264388 +TIMESTAMP = 1724434564 +SHA256 (llvm-project-19.1.0-rc3.src.tar.xz) = ea80f9d588abb4837bd6bfb84ee5e4fff3ea2bd87e754615bc578308ad248e38 +SIZE (llvm-project-19.1.0-rc3.src.tar.xz) = 141250388 diff --git a/devel/llvm19/files/patch-backport-freebsd-397c2693fa6 b/devel/llvm19/files/patch-backport-freebsd-397c2693fa6 deleted file mode 100644 index f000829474ba..000000000000 --- a/devel/llvm19/files/patch-backport-freebsd-397c2693fa6 +++ /dev/null @@ -1,43 +0,0 @@ -commit 397c2693fa66508cb5e6b173650a1f3bc6c4dd4f -Author: Dimitry Andric <dim@FreeBSD.org> -Date: Sun Jul 21 22:37:27 2024 +0200 - - Fix llvm register allocator for native/cross build differences - - Work around an issue in LLVM's register allocator, which can cause - slightly different i386 object files, when produced by a native or cross - build of clang. - - This adds another volatile qualifier to a float variable declaration in - the weightCalcHelper() function, which otherwise produces slightly - different float results on amd64 and i386 hosts. In turn, this can lead - to different (but equivalent) register choices, and thus non-identical - assembly code. - - See https://github.com/llvm/llvm-project/issues/99396 for more details. - - Note this is a temporary fix, meant to merge in time for 13.4. As soon - as upstream has a permanent solution we will import that. - - PR: 276961 - Reported by: cperciva - MFC after: 3 days - -diff --git llvm/lib/CodeGen/CalcSpillWeights.cpp llvm/lib/CodeGen/CalcSpillWeights.cpp -index f3cb7fa5af61..afde8d001f88 100644 ---- llvm/lib/CodeGen/CalcSpillWeights.cpp -+++ llvm/lib/CodeGen/CalcSpillWeights.cpp -@@ -256,7 +256,12 @@ float VirtRegAuxInfo::weightCalcHelper(LiveInterval &LI, SlotIndex *Start, - return -1.0f; - } - -- float Weight = 1.0f; -+ // FreeBSD customization: similar to the HWeight declaration below, add a -+ // volatile qualifier to avoid slightly different weight results on amd64 -+ // and i386 hosts, and possibly choosing different registers in the register -+ // allocator. See <https://github.com/llvm/llvm-project/issues/99396> for -+ // more details. -+ volatile float Weight = 1.0f; - if (IsSpillable) { - // Get loop info for mi. - if (MI->getParent() != MBB) { diff --git a/devel/llvm19/pkg-plist b/devel/llvm19/pkg-plist index 1f606ea5d549..a79003147b0f 100644 --- a/devel/llvm19/pkg-plist +++ b/devel/llvm19/pkg-plist @@ -11,7 +11,6 @@ bin/llvm-bcanalyzer%%LLVM_SUFFIX%% bin/llvm-bitcode-strip%%LLVM_SUFFIX%% bin/llvm-cat%%LLVM_SUFFIX%% bin/llvm-cfi-verify%%LLVM_SUFFIX%% -bin/llvm-cgdata%%LLVM_SUFFIX%% bin/llvm-config%%LLVM_SUFFIX%% bin/llvm-cov%%LLVM_SUFFIX%% bin/llvm-cvtres%%LLVM_SUFFIX%% @@ -111,7 +110,6 @@ bin/sancov%%LLVM_SUFFIX%% %%FLANG%%bin/bbc%%LLVM_SUFFIX%% %%FLANG%%bin/f18-parse-demo%%LLVM_SUFFIX%% %%FLANG%%bin/fir-opt%%LLVM_SUFFIX%% -%%FLANG%%bin/flang%%LLVM_SUFFIX%% %%FLANG%%bin/flang-new%%LLVM_SUFFIX%% %%FLANG%%bin/tco%%LLVM_SUFFIX%% %%LLD%%bin/ld.lld%%LLVM_SUFFIX%% @@ -232,7 +230,6 @@ llvm%%LLVM_SUFFIX%%/bin/llvm-bitcode-strip llvm%%LLVM_SUFFIX%%/bin/llvm-c-test llvm%%LLVM_SUFFIX%%/bin/llvm-cat llvm%%LLVM_SUFFIX%%/bin/llvm-cfi-verify -llvm%%LLVM_SUFFIX%%/bin/llvm-cgdata llvm%%LLVM_SUFFIX%%/bin/llvm-config llvm%%LLVM_SUFFIX%%/bin/llvm-cov llvm%%LLVM_SUFFIX%%/bin/llvm-cvtres @@ -2999,10 +2996,6 @@ llvm%%LLVM_SUFFIX%%/include/llvm/CodeGen/WasmEHPrepare.h llvm%%LLVM_SUFFIX%%/include/llvm/CodeGen/WinEHFuncInfo.h llvm%%LLVM_SUFFIX%%/include/llvm/CodeGen/WinEHPrepare.h llvm%%LLVM_SUFFIX%%/include/llvm/CodeGen/WindowScheduler.h -llvm%%LLVM_SUFFIX%%/include/llvm/CodeGenData/CodeGenData.h -llvm%%LLVM_SUFFIX%%/include/llvm/CodeGenData/CodeGenData.inc -llvm%%LLVM_SUFFIX%%/include/llvm/CodeGenData/CodeGenDataReader.h -llvm%%LLVM_SUFFIX%%/include/llvm/CodeGenData/CodeGenDataWriter.h llvm%%LLVM_SUFFIX%%/include/llvm/CodeGenData/OutlinedHashTree.h llvm%%LLVM_SUFFIX%%/include/llvm/CodeGenData/OutlinedHashTreeRecord.h llvm%%LLVM_SUFFIX%%/include/llvm/CodeGenTypes/LowLevelType.h