LLVM/project 30c9006 — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer DependencyGraph.h, llvm/unittests/Transforms/Vectorize/SandboxVectorizer SchedulerTest.cpp DependencyGraphTest.cpp

[SandboxVec][DAG] Add assertion in setScheduled() (NFC) (#240967)

This checks that we don't try to schedule a non-ready instruction.

Some unittests were marking nodes as scheduled when non-ready, so this
patch fixes them.
DeltaFile
+16-10llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp
+9-6llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp
+1-0llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h
+26-163 files

LLVM/project 2934809 — clang/include/clang/DependencyScanning DependencyScanningFilesystem.h, clang/lib/DependencyScanning DependencyScanningFilesystem.cpp

[clang][deps] Don't share real paths from `LocalFS` via the shared cache (#241463)

`DependencyScanningWorkerFilesystem::getRealPath()` computed uncached
real paths via the overlay of `LocalFS` and the global FS, but stored
the result in the shared cache. Since `LocalFS` is specific to the
worker, this leaked its real paths to other workers, and could hide
`LocalFS` real paths behind results cached by other workers.

Resolve real paths of files that exist in `LocalFS` through `LocalFS`
and only cache them locally, the same way `getOrCreateFileSystemEntry()`
does for status and contents. Compute all other real paths through the
global FS.
DeltaFile
+69-0clang/unittests/DependencyScanning/DependencyScanningFilesystemTest.cpp
+12-1clang/lib/DependencyScanning/DependencyScanningFilesystem.cpp
+6-2clang/include/clang/DependencyScanning/DependencyScanningFilesystem.h
+87-33 files

LLVM/project 13e0320 — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project b515cde — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project fb925ed — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project 46a8318 — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project e6d80e7 — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project b886c20 — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project c405df6 — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project 4f8c288 — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project 0ccc0ff — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project 2853209 — flang/test/Semantics/OpenACC acc-declare-unresolved.f90, llvm/include/llvm/ExecutionEngine/Orc SimpleMemoryMapSPS.h EPCGenericMemoryAccessSPS.h

update description

Created using spr 2.0.0-beta.2
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+20-20llvm/lib/Support/KnownFPClass.cpp
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+227-9014 files not shown
+295-15120 files

LLVM/project afe4609 — llvm/test/ThinLTO/X86 cfi-icall-samplepgo-icp.ll cfi-icall-pgo-icp.ll

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+2-2llvm/test/ThinLTO/X86/cfi-icall-samplepgo-icp.ll
+2-2llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+4-42 files

LLVM/project b80f9a7 — libc/src/__support/File file.cpp file.h

[libc] Reorder and pack File state fields (#238054)

This reduces the size of the File struct, on 64-bit targets from 144
bytes to 120 bytes, and on 32-bit targets from 92 bytes to 76 bytes (and
60 bytes on baremetal in single-threaded mode).

Assisted-by: Gemini
DeltaFile
+34-35libc/src/__support/File/file.h
+1-1libc/src/__support/File/file.cpp
+35-362 files

LLVM/project 8a64d63 — llvm/test/Transforms/Util/DeclareRuntimeLibcalls sparc.ll systemz.ll

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+1,457-1,437llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+1,308-1,292llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+1,208-1,190llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+1,085-1,073llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+755-747llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+661-653llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+6,474-6,392172 files not shown
+14,643-11,677178 files

LLVM/project 7d41549 — clang/test/CodeGen attr-target-clones.c

[Clang][CodeGen][NFC] Add regression test for repeated `target_clones` redeclarations (#237830)

Fixes #149372

A `target_clones` definition, a bare redeclaration and then one
repeating the attribute asserted with `Default or Generic case must be
last` in the `x86` resolver. Sema did not link the bare redeclaration to
the definition, so CodeGen saw two functions named `f` and collected
every version twice.

#169259 fixed the `Sema` side, so the attribute is inherited and each
version is collected once. This adds the shape from the report.

Assisted-by : LLM tools.
DeltaFile
+25-0clang/test/CodeGen/attr-target-clones.c
+25-01 files

LLVM/project 384be0c — llvm/test/ThinLTO/X86 cfi-icall-pgo-icp.ll

[test][ThinLTO] Precommit iFDO test for LowerTypeTests and ICP ordering (#241632)

Add an instrumentation PGO (!VP metadata) ThinLTO backend test for
indirect
call promotion to CFI jump table members. With LowerTypeTestsPass
running
before ICP, the promoted comparisons check @foo.cfi instead of the jump
table
entry @foo.

Needed by #241582.

Assisted-by: Gemini
DeltaFile
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+61-01 files

LLVM/project d4c0a74 — flang/lib/Semantics check-acc-structure.cpp, flang/test/Semantics/OpenACC acc-declare-unresolved.f90

[flang][OpenACC] Don't crash on unresolved names in DECLARE data clauses (#169500)

When name resolution cannot resolve a name in a data clause of an
OpenACC DECLARE directive, it reports an error (for example "No explicit
type declared for 'm'" under IMPLICIT NONE) and leaves the name without
a symbol. The duplicate-occurrence check for DECLARE clauses then
dereferenced the null symbol and crashed before that error was printed.
All eight data clauses that DECLARE accepts were affected, and the name
could be the enclosing module's name, a misspelled variable or an
intrinsic procedure name.

The check now skips names without a symbol, as the other OpenACC
data-clause checks already do, so only the name-resolution error is
reported.

Fixes #169487

Assisted-by: AI
DeltaFile
+71-0flang/test/Semantics/OpenACC/acc-declare-unresolved.f90
+4-0flang/lib/Semantics/check-acc-structure.cpp
+75-02 files

LLVM/project 25015f3 — llvm/lib/Support KnownFPClass.cpp

[KnownFPClass] Avoid the FPClassTest round trip in apply*DenormalMode (#241622)

The contract for `applyInputDenormalMode` and `applyOutputDenormalMode`
is that they only modify zero/subnormal classes. The round trip from
`FPClassMask` to `FPClassTest` via `getKnownFPClasses` and
`setKnownFPClasses` loses information, since `FPClassMask` represents
more information than `FPClassTest` (currently just the sign bit of NaN,
but `FPClassMask` will be able to represent additional classes in the
future).
DeltaFile
+20-20llvm/lib/Support/KnownFPClass.cpp
+20-201 files

LLVM/project e07e153 — clang/lib/CodeGen CGClass.cpp, clang/test/CodeGenCXX cfi-vcall-trap-recover-runtime.cpp cfi-vcall-type-checked-load.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+104-101clang/test/CodeGenCXX/cfi-vcall-type-checked-load.cpp
+33-33clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp
+9-1compiler-rt/test/cfi/overwrite.cpp
+1-5clang/lib/CodeGen/CGClass.cpp
+2-2compiler-rt/test/cfi/anon-namespace.cpp
+1-1compiler-rt/test/cfi/vdtor.cpp
+150-1433 files not shown
+153-1469 files

LLVM/project 4f90809 — llvm/include/llvm/ExecutionEngine/Orc EPCGenericDylibManagerSPS.h SharedMemoryMapSPS.h, llvm/unittests/ExecutionEngine/Orc SPSProxySpecTest.cpp

[ORC] Drop ProxyT parameter from sps::ProxySpec (#241628)

sps::ProxySpec<ProxyT, CI> becomes sps::ProxySpec<CI>: a spec now
depends only on its controller-interface descriptor, and its dispatch
function can serve any Proxy whose argument and result types are
serializable with CI::SPSSig.

ProxySpec::dispatch becomes a function template whose template arguments
are deduced when it is converted to a Proxy's DispatchFn, so existing
uses of Spec::dispatch (including recordProxy) are unchanged. The
callee's return type, which was previously taken from ProxyT, is
recovered from the client-facing result type and the SPS return tag.

The in-tree specs and their uses are updated, as is ORCv2.md.
DeltaFile
+49-12llvm/include/llvm/ExecutionEngine/Orc/SPSProxySpec.h
+17-43llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccessSPS.h
+9-15llvm/include/llvm/ExecutionEngine/Orc/SimpleMemoryMapSPS.h
+21-2llvm/unittests/ExecutionEngine/Orc/SPSProxySpecTest.cpp
+8-12llvm/include/llvm/ExecutionEngine/Orc/SharedMemoryMapSPS.h
+8-9llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManagerSPS.h
+112-9310 files not shown
+139-13116 files

LLVM/project f3bb498 — clang/lib/CodeGen CGClass.cpp, clang/test/CodeGenCXX cfi-ignorelist.cpp cfi-vcall-type-checked-load.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+124-123clang/test/CodeGenCXX/cfi-vcall-type-checked-load.cpp
+62-61clang/test/DebugInfo/Generic/cfi-vcall-debuginfo.cpp
+17-13clang/lib/CodeGen/CGClass.cpp
+3-3clang/test/CodeGenCXX/cfi-ignorelist.cpp
+206-2004 files

LLVM/project 8e4d40f — clang/lib/CodeGen CGClass.cpp, clang/test/CodeGenCXX cfi-ignorelist.cpp cfi-vcall-type-checked-load.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+62-68clang/test/CodeGenCXX/cfi-vcall-type-checked-load.cpp
+24-14clang/lib/CodeGen/CGClass.cpp
+2-2clang/test/CodeGenCXX/cfi-ignorelist.cpp
+88-843 files

LLVM/project c70951c — clang/lib/CodeGen CGClass.cpp, clang/test/CodeGenCXX cfi-vtable-check.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+6-6clang/test/CodeGenCXX/cfi-vtable-check.cpp
+2-3clang/lib/CodeGen/CGClass.cpp
+8-92 files

LLVM/project b501f43 — clang/lib/CodeGen CGClass.cpp, clang/test/CodeGenCXX cfi-stats.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+2-2clang/test/CodeGenCXX/cfi-stats.cpp
+1-2clang/lib/CodeGen/CGClass.cpp
+3-42 files

LLVM/project d828eda — clang/lib/CodeGen CGClass.cpp, clang/test/CodeGenCXX cfi-vtable-check.cpp cfi-vcall-trap-recover-runtime.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+42-42clang/test/CodeGenCXX/cfi-vcall-type-checked-load.cpp
+36-33clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp
+12-17clang/test/CodeGenCXX/cfi-vtable-check.cpp
+14-8clang/lib/CodeGen/CGClass.cpp
+104-1004 files

LLVM/project a2459c3 — clang/lib/CodeGen MicrosoftCXXABI.cpp, clang/test/CodeGenCXX cfi-ms-secondary-vfptr.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+27-28clang/lib/CodeGen/MicrosoftCXXABI.cpp
+13-19clang/test/CodeGenCXX/cfi-ms-secondary-vfptr.cpp
+40-472 files

LLVM/project 8c832ac — clang/test/CodeGenCXX cfi-stats.cpp cfi-ignorelist.cpp, clang/test/DebugInfo/Generic cfi-vcall-debuginfo.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+1,108-0clang/test/CodeGenCXX/cfi-vcall-type-checked-load.cpp
+150-0clang/test/DebugInfo/Generic/cfi-vcall-debuginfo.cpp
+138-0clang/test/CodeGenCXX/cfi-vtable-check.cpp
+76-0clang/test/CodeGenCXX/cfi-ms-secondary-vfptr.cpp
+40-0clang/test/CodeGenCXX/cfi-ignorelist.cpp
+14-0clang/test/CodeGenCXX/cfi-stats.cpp
+1,526-01 files not shown
+1,529-17 files

LLVM/project b7ec213 — clang/lib/CodeGen ItaniumCXXABI.cpp CGClass.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+2-1clang/lib/CodeGen/MicrosoftCXXABI.cpp
+2-1clang/lib/CodeGen/CodeGenFunction.h
+1-1clang/lib/CodeGen/ItaniumCXXABI.cpp
+1-1clang/lib/CodeGen/CGClass.cpp
+6-44 files

LLVM/project 8cffc2f — clang/lib/CodeGen CodeGenFunction.h CGClass.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+17-9clang/lib/CodeGen/CGClass.cpp
+5-0clang/lib/CodeGen/CodeGenFunction.h
+22-92 files