LLVM/project 2301475flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-declare-managed-no-global-ctor.f90

Revert "[flang][openacc] Skip implicit global declare constructor in managed mode" (#206884)

Reverts llvm/llvm-project#206610 as this might not be the right approach
DeltaFile
+0-30flang/test/Lower/OpenACC/acc-declare-managed-no-global-ctor.f90
+4-19flang/lib/Lower/OpenACC.cpp
+4-492 files

LLVM/project 7306ea2flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-declare-managed-no-global-ctor.f90

Revert "[flang][openacc] Skip implicit global declare constructor in managed …"

This reverts commit b213a5454f178dabb07514454cf83dc38e41fdad.
DeltaFile
+0-30flang/test/Lower/OpenACC/acc-declare-managed-no-global-ctor.f90
+4-19flang/lib/Lower/OpenACC.cpp
+4-492 files

LLVM/project 4a11eb3orc-rt/include/orc-rt CallableTraitsHelper.h

[orc-rt] Drop redundant 'public' base access specifiers. NFC. (#206883)
DeltaFile
+9-10orc-rt/include/orc-rt/CallableTraitsHelper.h
+9-101 files

LLVM/project 3f849ffflang/lib/Lower/OpenMP OpenMP.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[flang][OpenMP] Lower target in_reduction for host fallback

Enable host-fallback lowering for target in_reduction in Flang and MLIR OpenMP translation.

Model target in_reduction through the matching map entry, force address-preserving implicit mapping for Flang in_reduction list items, and emit the host-side task-reduction lookup with __kmpc_task_reduction_get_th_data. The runtime entry point takes and returns a generic, default-address-space pointer, so normalize a non-default-address-space captured pointer to the generic address space before the call and cast the returned private pointer back to the map block argument's address space, mirroring the in_reduction handling on omp.taskloop. Unsupported device/offload-entry and richer reduction forms remain diagnosed.

Add Flang lowering, MLIR verifier/translation, and LLVM IR tests for the supported host-fallback path, including a non-default-address-space case, and the remaining unsupported cases.
DeltaFile
+131-14mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+95-21mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+110-3mlir/test/Target/LLVMIR/openmp-todo.mlir
+107-0mlir/test/Target/LLVMIR/openmp-target-in-reduction.mlir
+88-15flang/lib/Lower/OpenMP/OpenMP.cpp
+77-0mlir/test/Target/LLVMIR/openmp-target-in-reduction-multi.mlir
+608-5315 files not shown
+1,000-8021 files

LLVM/project e7290b1llvm/docs/CommandGuide llvm-debuginfo-analyzer.rst, llvm/include/llvm/DebugInfo/LogicalView/Readers LVIRReader.h

[llvm-debuginfo-analyzer] Add support for LLVM IR format. (#202120)

llvm-debuginfo-analyzer is a command line tool that processes debug
info contained in a binary file and produces a debug information
format agnostic “Logical View”, which is a high-level semantic
representation of the debug info, independent of the low-level format.

Add support for the LLVM IR format and be able to generate logical
views. Both textual representation (.ll) and bitcode (.bc) formats
are supported.

This relands https://github.com/llvm/llvm-project/pull/135440,
which was:
reverted in: https://github.com/llvm/llvm-project/pull/199890
relanded in: https://github.com/llvm/llvm-project/pull/200603
reverted in: https://github.com/llvm/llvm-project/pull/201019

It includes the fixes for the buildbots problems.
DeltaFile
+2,630-0llvm/lib/DebugInfo/LogicalView/Readers/LVIRReader.cpp
+362-0llvm/unittests/DebugInfo/LogicalView/IRReaderTest.cpp
+303-0llvm/include/llvm/DebugInfo/LogicalView/Readers/LVIRReader.h
+87-134llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
+168-0llvm/test/tools/llvm-debuginfo-analyzer/IR/08-ir-multiple-compile-units.test
+151-0llvm/test/tools/llvm-debuginfo-analyzer/IR/01-ir-select-logical-elements.test
+3,701-13435 files not shown
+5,420-15941 files

LLVM/project 62ee075llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

[AArch64][ISel] Fix comment misalignment (NFC) (#206878)

Fix comment misalignment introduced by newly-added code in commit
2668971e14219205ddf6b1f753cf83f7cb22022a
DeltaFile
+2-2llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+2-21 files

LLVM/project b5c5551orc-rt/include/orc-rt CallableTraitsHelper.h

[orc-rt] Simplify CallableTraitsHelper specialization inheritance NFC. (#206869)

Make CallableTraitsHelper specializations inherit directly from ImplT.
This is a no-op, but will simplify upcoming patches that will capture
more information about the callable type.
DeltaFile
+4-4orc-rt/include/orc-rt/CallableTraitsHelper.h
+4-41 files

FreeBSD/ports 31e0fd2devel/sem distinfo Makefile

devel/sem: Update to 0.15.0
DeltaFile
+5-3devel/sem/distinfo
+1-1devel/sem/Makefile
+1-0devel/sem/Makefile.crates
+7-43 files

LLVM/project 905c6d9llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv pr206788.ll

[RISCV] Disable combineVectorSizedSetCCEquality when fixed length vectors are disabled. (#206829)

With VLEN=32 we don't support fixed vectors even if vector instructions are
enabled.

Fixes #206788
DeltaFile
+30-0llvm/test/CodeGen/RISCV/rvv/pr206788.ll
+1-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+31-12 files

NetBSD/src XHggdlWetc Makefile, etc/unbound unbound.conf Makefile

   unbound: Install a default configuration.

   This way, setting unbound=YES is enough to get a working local
   recursive resolver listening on 127.0.0.1:53 and [::1]:53.

   PR misc/60339: unbound=YES in rc.conf should be enough to get a
   recursive resolver

   Additionally, this includes the workaround for:

   PR bin/60325: unbound emits warning: so-sndbuf 4194304 was not
   granted
VersionDeltaFile
1.1+49-0etc/unbound/unbound.conf
1.84+15-2share/man/man8/afterboot.8
1.3+14-1external/bsd/unbound/etc/rc.d/unbound
1.1+14-0etc/unbound/Makefile
1.195+12-1share/man/man5/rc.conf.5
1.477+2-2etc/Makefile
+106-62 files not shown
+110-88 files

NetBSD/pkgsrc ANt2BHNtextproc/xmlto distinfo, textproc/xmlto/patches patch-format_docbook_epub patch-format_docbook_txt

   xmlto: add missing comments to patch headers
VersionDeltaFile
1.20+6-6textproc/xmlto/distinfo
1.2+3-1textproc/xmlto/patches/patch-format_docbook_epub
1.2+3-1textproc/xmlto/patches/patch-format_docbook_txt
1.2+3-1textproc/xmlto/patches/patch-format_fo_dvi
1.2+3-1textproc/xmlto/patches/patch-format_fo_pdf
1.2+3-1textproc/xmlto/patches/patch-format_xhtml1_txt
+21-116 files

Linux/linux 665159ekernel/trace trace_probe.c fprobe.c, samples/trace_events trace-events-sample.c

Merge tag 'probes-fixes-v7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull probes fixes from Masami Hiramatsu:
 "fprobe fixes and spelling typos:

   - Fix NULL pointer dereference in fprobe_fgraph_entry(). Prevent
     general protection faults by checking shadow-stack reservation
     bounds. Skip mid-flight registered fprobes that were not counted
     during sizing.

  eprobe: fix string pointer extraction

   - Correct the casting of string pointers read from the ringbuffer to
     prevent truncation of base event pointer variables when
     dereferencing FILTER_PTR_STRING fields.

  tracing/probes: clean up argument parsing and BTF helper logic

   - Make the $ prefix mandatory for comm access: Require the $ prefix

    [28 lines not shown]
DeltaFile
+9-6kernel/trace/trace_probe.c
+10-0kernel/trace/fprobe.c
+4-0samples/trace_events/trace-events-sample.c
+1-1kernel/trace/trace_eprobe.c
+1-1kernel/trace/trace_probe.h
+25-85 files

NetBSD/pkgsrc TrHFljFtextproc/xmlto Makefile distinfo, textproc/xmlto/patches patch-xmlto_in

   xmlto: apply two shell-related tweaks

   First, make shell code used in the "-o" option parsing more portable.
   "type -p" hasn't been supported by NetBSD's sh since 8.0 (and also
   isn't universally supported elsewhere by other shells). This addresses
   PR pkg/60388 from Andrew Cagney. (Really here we're suppressing a
   warning rather than a failure, one that happens to show up in build
   logs.)

   (We could substitute "command -v" instead (recommended over bare "type"
   by a NetBSD shell guru), but since both the existing upstream code and
   a bunch of our patches are already using "type" in many places, I kept
   it consistent here.)

   Next, Makefile r. 1.32 removed bash as a runtime dependency, but didn't
   account for REPLACE_BASH still being defined, which results in a broken
   (though effectively harmless) substitution to "#!". (Here perhaps the
   pkgsrc replacement mechanism could be improved so it generates an error
   when the replacement path is empty.) This is only relevant for the test
   target.
VersionDeltaFile
1.2+15-5textproc/xmlto/patches/patch-xmlto_in
1.51+3-3textproc/xmlto/Makefile
1.19+2-2textproc/xmlto/distinfo
+20-103 files

LLVM/project f5ebc1allvm/lib/Target/AMDGPU AMDGPUMCInstLower.cpp, llvm/test/CodeGen/AMDGPU mcinstlower-external-symbol-reloc.mir

[AMDGPU] Apply target flag specifier when lowering MO_ExternalSymbol operands (#202389)

The MO_ExternalSymbol case in AMDGPUMCInstLower dropped the operand
target flags emitting the wrong relocation type
DeltaFile
+19-0llvm/test/CodeGen/AMDGPU/mcinstlower-external-symbol-reloc.mir
+2-1llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
+21-12 files

OpenBSD/ports 4HQxOq6sysutils/fastfetch Makefile distinfo

   Update fastfetch to 2.65.2
VersionDeltaFile
1.16+2-3sysutils/fastfetch/Makefile
1.16+2-2sysutils/fastfetch/distinfo
+4-52 files

FreeBSD/src a88932bsys/powerpc/conf QORIQ64

powerpc/conf: Remove temporary additions from QORIQ64

These were added during the DPAA driver rewrite, and should not have
gone in then.  Remove them.
DeltaFile
+0-3sys/powerpc/conf/QORIQ64
+0-31 files

LLVM/project e3f2e35clang/lib/Serialization ASTCommon.cpp

[Serialization] Delete an unreachable BlockDecl check (NFC) (#206298)

`needsAnonymousDeclarationNumber()` takes a `const NamedDecl *`. Both
`BlockDecl` and `NamedDecl` derive from `Decl`, in other words they're
siblings.

* https://clang.llvm.org/doxygen/classclang_1_1BlockDecl.html
* https://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html

Thus `isa<BlockDecl>(D)` is statically false.
DeltaFile
+1-1clang/lib/Serialization/ASTCommon.cpp
+1-11 files

FreeBSD/src 21ae611sys/powerpc/conf MPC85XX

powerpc: Remove DPAA from MPC85XX, it's 64-bit only now
DeltaFile
+0-1sys/powerpc/conf/MPC85XX
+0-11 files

FreeBSD/src 17f02f7sys/powerpc/booke pmap_32.c

powerpc/pmap: Fix 32-bit Book-E build
DeltaFile
+2-2sys/powerpc/booke/pmap_32.c
+2-21 files

FreeBSD/src a8566c7sys/dev/iicbus/rtc hym8563.c, sys/modules/i2c/hym8563 Makefile

hym8563: Fix 32-bit powerpc build

Depend on clknode_if.h in the module Makefile, so that it gets
explicitly built for the module.  Also, reduce the #if guards to only
the new clock output code, and gate them on all powerpc, not just
powerpc64.

Fixes:  6b77d34f("HYM8563: Add support for clock output.")
Reviewed by:    mmel
Differential Revision:  https://reviews.freebsd.org/D57795
DeltaFile
+11-7sys/dev/iicbus/rtc/hym8563.c
+1-0sys/modules/i2c/hym8563/Makefile
+12-72 files

FreeBSD/src 2b5d1d8sys/dev/rge if_rge.c

rge: Fix 32-bit powerpc build

Book-E powerpc has 64-bit bus_addr_t but only a 32-bit bus_size_t.  Use
the right macros for maxsize and maxsegsize to fix the build.

Fixes:  4bf8ce037 ("if_rge: initial import of if_rge driver from OpenBSD.")
Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D57794
DeltaFile
+2-2sys/dev/rge/if_rge.c
+2-21 files

LLVM/project b0e490aclang/lib/Serialization ASTCommon.cpp, clang/test/Modules modules-lambda-dependent-crash.cppm modules-local-class-dependent-crash.cppm

[Clang][Modules] Skip anonymous declaration numbering for local tags in dependent contexts (#202248)

Local tag declarations (classes, structs, enums, and lambdas) defined
within function template bodies or class templates do not require ODR
merging at the local declaration level across different modules. ODR
consistency is already guaranteed because the instantiator only walks
the canonical template definition body, which instantiates its own copy
of the local class.

Merging them across different modules causes their member definitions
(like methods or call operators) to be canonicalized to one module,
while the instantiator walks the template body from another module.
Since local variables within template bodies are not merged, this
mismatch leads to assertion crashes during template instantiation in
`LocalInstantiationScope::findInstantiationOf`.

Fixes https://github.com/llvm/llvm-project/issues/206203.

Co-authored-by: ipopov <ipopov at google.com>
DeltaFile
+73-0clang/test/Modules/modules-lambda-dependent-crash.cppm
+70-0clang/test/Modules/modules-local-class-dependent-crash.cppm
+6-2clang/lib/Serialization/ASTCommon.cpp
+149-23 files

LLVM/project 58e1038llvm/lib/Target/X86 X86TargetVerifier.cpp, llvm/test/Verifier/X86 inline-asm-registers.ll

[X86] Verify inline-asm register operands against the subtarget

Inline asm can name physical registers that require a subtarget feature
the selected subtarget lacks: zmm and mask (k) registers need AVX-512,
ymm registers need AVX. The subtarget is derived from the function's
target-cpu/target-features, so no MachineFunction is required.
DeltaFile
+33-0llvm/lib/Target/X86/X86TargetVerifier.cpp
+27-0llvm/test/Verifier/X86/inline-asm-registers.ll
+60-02 files

LLVM/project b9a267cclang CMakeLists.txt

fixup! [clang] Rename CLANG_DEFAULT_PIE_ON_LINUX to CLANG_DEFAULT_PIE
DeltaFile
+5-0clang/CMakeLists.txt
+5-01 files

LLVM/project 14a19cellvm/lib/Support/Windows Path.inc

Fix Windows Path Separator issues in create_symlink and readlink (#206665)

- Force create_symlink target path to use backslashes on Windows, as
NTFS reparse points require backslashes.
- Normalize readlink output to native path separators to match preferred
style.

This fixes the following test failure:

```
PS C:\src\chromium\src\third_party\llvm> .\build_repro\unittests\Support\SupportTests.exe --gtest_filter=FileSystemTest.CreateRelativeDirectorySymlink
[ RUN      ] FileSystemTest.CreateRelativeDirectorySymlink
Test Directory: C:/src/temp/file-system-test-a3fd42
C:\src\chromium\src\third_party\llvm\llvm\unittests\Support\Path.cpp(896): error: Value of: fs::is_directory(Link)                                                                                                                                                                                                                     Actual: false
Expected: true
```
DeltaFile
+2-1llvm/lib/Support/Windows/Path.inc
+2-11 files

LLVM/project 14d9c0cllvm/test/MC/ARM cde-integer.s mve-load-store.s, llvm/utils/TableGen AsmMatcherEmitter.cpp

[AsmMatcher] Report a near-miss when all candidates mismatch multiple operands (#206390)

In the ReportMultipleNearMisses path, an opcode that mismatches more
than one operand is dropped, and its first near-miss is dropped with it. If
every opcode is dropped this way, the parser only reports a generic
"invalid instruction".

Now keep the first near-miss of each such opcode, and use it only when
no other opcode gives a near-miss.

Assisted-by: claude-opus
DeltaFile
+25-25llvm/test/MC/ARM/cde-integer.s
+16-16llvm/test/MC/ARM/mve-load-store.s
+21-1llvm/utils/TableGen/AsmMatcherEmitter.cpp
+10-10llvm/test/MC/ARM/bfloat16-a32-errors2.s
+8-8llvm/test/MC/ARM/mve-misc.s
+8-8llvm/test/MC/ARM/diagnostics.s
+88-6813 files not shown
+129-11019 files

LLVM/project 483d534llvm/include/llvm/TargetParser SubtargetFeature.h, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

[TargetParser][NFC] Make FeatureBitset iterable (#206394)

FeatureBitset had no way to iterate its bits, so callers scanned all
MAX_SUBTARGET_FEATURES positions by hand.
This adds begin()/end() that yield the index of each set bit, skipping
unset bits with countr_zero.
Callers can now write `for (unsigned Feature: Features)`. 

Assisted-by: claude-opus
DeltaFile
+40-0llvm/include/llvm/TargetParser/SubtargetFeature.h
+31-0llvm/unittests/TargetParser/TargetParserTest.cpp
+4-6llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+4-6llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
+3-5llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp
+3-5llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+85-222 files not shown
+89-298 files

LLVM/project 76c92eclldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition TestCrashingCondition.py, lldb/test/API/lang/cpp/default-template-args TestDefaultTemplateArgs.py

[lldb][test] Skip more unsupported tests on WebAssembly (#206857)

These tests exercise functionality that WebAssembly does not provide, so
they cannot pass under the Wasm test configuration. The reasons vary by
test, captured by a short inline comment.

Skip them with @skipIfWasm (and @skipIfNoSignals for the SIGINT test) so
the suite reflects real failures.
DeltaFile
+2-0lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/TestCrashingCondition.py
+1-0lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py
+1-0lldb/test/API/macosx/mte/TestDarwinMTE.py
+1-0lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
+1-0lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py
+1-0lldb/test/API/python_api/sbplatform/TestSBPlatform.py
+7-033 files not shown
+40-039 files

LLVM/project 6a2cd1flibc/cmake/modules LLVMLibCArchitectures.cmake

[libc] Support triples that start with thumb*- (#206847)

thumb*- can be used as an alias for arm*- (implying -mthumb).
DeltaFile
+1-1libc/cmake/modules/LLVMLibCArchitectures.cmake
+1-11 files

LLVM/project c311656clang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGen call-graph-section.cpp call-graph-section-templates.cpp

[clang][llvm]Uncorrelate CFI and Callgraph related type metadata annotations (#204266)

When -fexperimental-call-graph-section flag is set, it adds type
metadata to all the functions whose addresses are taken and does not
have local linkage. When this flag is set along with CFI, the type
metadata is added to all the vtable functions including destructors.
This changes which functions are to be treated as CFI functions and
includes such vtable entries to become part of the CFI check jumptables.

To disambiguate intentions of CFI and callgraph mechanisms, this patch
renames metadata set by callgraph mechanism to !callgraph
(MD_callgraph). This prevents inflating the list of CFI functions when
callgraph section is enabled along with CFI.
DeltaFile
+72-1llvm/docs/LangRef.rst
+28-28clang/test/CodeGen/call-graph-section.cpp
+21-21clang/test/CodeGen/call-graph-section-templates.cpp
+0-33llvm/docs/CalleeTypeMetadata.rst
+11-21clang/lib/CodeGen/CodeGenModule.cpp
+15-15clang/test/CodeGen/call-graph-section.c
+147-11945 files not shown
+351-28651 files