head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.2 pkgsrc-2026Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2026.10.11.05.28.13; author adam; state dead; branches; next 1.1; commitid eZ4BDvIefVHFf1ZG; 1.1 date 2026.09.15.21.10.07; author tnn; state Exp; branches; next ; commitid 54G8qKXgGbDJfLVG; desc @@ 1.2 log @llvm: updated to 22.1.8 22.1.8 https://releases.llvm.org/22.1.0/docs/ReleaseNotes.html @ text @$NetBSD: patch-lib_Target_Hexagon_RDFCopy.cpp,v 1.1 2026/09/15 21:10:07 tnn Exp $ https://github.com/llvm/llvm-project/commit/a558d656043734cc4d02e0a0a12e4c308c28f8c7.patch --- lib/Target/Hexagon/RDFCopy.cpp.orig 2025-12-12 10:35:47.000000000 +0000 +++ lib/Target/Hexagon/RDFCopy.cpp @@@@ -108,7 +108,7 @@@@ bool CopyPropagation::scanBlock(MachineB for (NodeAddr IA : BA.Addr->members(DFG)) { if (DFG.IsCode(IA)) { NodeAddr SA = IA; - EqualityMap EM(std::less(DFG.getPRI())); + EqualityMap EM(RegisterRefLess(DFG.getPRI())); if (interpretAsCopy(SA.Addr->getCode(), EM)) recordCopy(SA, EM); } @ 1.1 log @llvm: fix build with xcode 27 Apply commit a558d656043734cc4d02e0a0a12e4c308c28f8c7 from upstream. I won't pretend to understand modern C++ to the extent that I can adequately explain this change, but I guess it removes UB and does not change code behaviour. @ text @d1 1 a1 1 $NetBSD$ @