LLVM/project 6438199llvm/lib/Transforms/Vectorize VPlanPatternMatch.h VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize epilog-iv-select-cmp.ll

[VPlan] Introduce m_SelectLike and use to support 2-operand blends. (#194729)

We should be able to treat 2-operand blends like select by most VPlan
code. Add a new m_SelectLike matcher and use in places that only use the
matcher to extract operands.

Overall this leads to a small number of improvements in RISCV (~10 files
changed in a large IR corpus) and 2 loops changed on AArch64 with
tail-folding forced.


PR: https://github.com/llvm/llvm-project/pull/194729
DeltaFile
+49-15llvm/test/Transforms/LoopVectorize/epilog-iv-select-cmp.ll
+30-0llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
+6-6llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+4-3llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+1-2llvm/test/Transforms/LoopVectorize/RISCV/tail-folding-complex-mask.ll
+90-265 files

LLVM/project 815e057clang/lib/Sema SemaLifetimeSafety.h, clang/test/Sema/LifetimeSafety safety.cpp nocfg.cpp

improved-names-for-function-calls
DeltaFile
+56-51clang/test/Sema/LifetimeSafety/safety.cpp
+39-25clang/test/Sema/LifetimeSafety/nocfg.cpp
+14-1clang/lib/Sema/SemaLifetimeSafety.h
+6-6clang/test/Sema/LifetimeSafety/annotation-suggestions.cpp
+115-834 files

FreeBSD/src 4ea4116release/tools vmimage.subr

vmimage.subr: Add ability to install src in VM image

In some cases having a src tree in a VM image is convenient
for development or debugging. Add a WITH_SRC variable,
which, when set, will cause the vm-release target to include
FreeBSD-set-src in the list of packages installed in an image.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Sponsored by:   Intel Corporation

Reviewed by:    cperciva
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D57143
DeltaFile
+1-0release/tools/vmimage.subr
+1-01 files

LLVM/project 2a72cd8llvm/unittests/Support GlobPatternTest.cpp

[NFC][Support] Add test for inverted slash-agnostic matching (#203290)

Add a test case to GlobPatternTest to verify that inverted character
classes containing slashes (e.g. [^/] or [^\\]) behave correctly
under SlashAgnostic mode (i.e. they do not match either slash).

Assisted-by: Gemini
DeltaFile
+14-0llvm/unittests/Support/GlobPatternTest.cpp
+14-01 files

FreeBSD/src 96b71cbshare/man/man5 hosts.equiv.5

hosts.equiv.5: correct nits to fix `mandoc -T lint` issues

- Rename `.Nm .rhosts` to `.Nm rhosts` to match the MLINK for the
  manpage.
- Use `.Pa` instead of `.Nm` when discussing the paths for `.rhosts` and
  `hosts.equiv.5` for explicitness and clarity.

Bump .Dd for the change.

MFC after:      1 week

(cherry picked from commit af864dd4a2df50021f8a48c218a1f5968dbbb0c1)
DeltaFile
+4-4share/man/man5/hosts.equiv.5
+4-41 files

FreeNAS/freenas e9232ebsrc/middlewared/middlewared/test/integration/utils shell.py, tests/api2 test_audit_websocket.py test_reporting_realtime.py

Fix API tests

* Reporting realtime shows stats on boot pool and so we should
  expect it.

* pam / auth stack now properly reports in *audit* messages why the
  authentication failed (minimally including PAM error code).

* harden our webshell tests
DeltaFile
+47-28src/middlewared/middlewared/test/integration/utils/shell.py
+5-1tests/api2/test_audit_websocket.py
+5-1tests/api2/test_reporting_realtime.py
+57-303 files

FreeBSD/src f222707share/man/man5 hosts.equiv.5

hosts.equiv.5: correct nits to fix `mandoc -T lint` issues

- Rename `.Nm .rhosts` to `.Nm rhosts` to match the MLINK for the
  manpage.
- Use `.Pa` instead of `.Nm` when discussing the paths for `.rhosts` and
  `hosts.equiv.5` for explicitness and clarity.

Bump .Dd for the change.

MFC after:      1 week

(cherry picked from commit af864dd4a2df50021f8a48c218a1f5968dbbb0c1)
DeltaFile
+4-4share/man/man5/hosts.equiv.5
+4-41 files

LLVM/project 869c99allvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.h

[AMDGPU] NFC: Drop constexpr from getFlavor*Name functions

Change-Id: I6936feedf1af27d348e7b0e9787bbb291e4cf862
DeltaFile
+2-2llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+2-21 files

LLVM/project 5036a80clang/lib/CodeGen CGHLSLRuntime.cpp CGExpr.cpp

[HLSL][NFC] Remove unused location argument (#203467)

The location argument was just passed around but never used.
DeltaFile
+12-17clang/lib/CodeGen/CGHLSLRuntime.cpp
+4-8clang/lib/CodeGen/CGExpr.cpp
+2-3clang/lib/CodeGen/CGHLSLRuntime.h
+18-283 files

LLVM/project f2957d7flang/lib/Semantics check-omp-structure.cpp

[flang][OpenMP] Add missing check for empty argument list (#203592)
DeltaFile
+4-0flang/lib/Semantics/check-omp-structure.cpp
+4-01 files

FreeBSD/src 631cd25share/man/man7 security.7

security(7): fix `mandoc -T lint` complaints

- Add `.Nm` section for securelevel(7) to match corresponding MLINKS entry.
- Fix the spelling for mac(4) (the actual subsystem manpage is spelled out in
  lowercase.

MFC after:      1 week

(cherry picked from commit 573a9e5764df04d2dbfb0cf174458936b0a97095)
DeltaFile
+3-2share/man/man7/security.7
+3-21 files

FreeBSD/src fd420ec. MAINTAINERS, .github CODEOWNERS

OpenSSL: update MAINTAINERS/CODEOWNERS

I've been the quasi-defacto component maintainer for OpenSSL since
14.0-RELEASE. Make it official via CODEOWNERS/MAINTAINERS.

The goal is to help guide those interested in making changes in this
space to solicit my input with the new vendor import process and
coordinate fixes with upstream until things are at a point where most of
this is automated a system of automated checks and balances to confirm
that the updates being made to the component help maintain a security
supply chain for this given component.

Thank you benl and jkim for your past efforts in this component area.
Hopefully I can do my part to help improve this critical space further
as you both did in your respective tenures.

MFC after:      3 days

(cherry picked from commit 8f9aabbdbcd55b25b698bd762e8693d43f295bbd)
DeltaFile
+5-3.github/CODEOWNERS
+1-1MAINTAINERS
+6-42 files

FreeBSD/src b649738tools/build/mk OptionalObsoleteFiles.inc

Remove all of /usr/tests/share/examples/... when MK_EXAMPLES == no

- Remove the generated files (`file1`).
- Remove the top-level example `Kyuafile`.

MFC after:      1 week

(cherry picked from commit fb7df70a479f7cf972073f3a779adba2b4517c31)
DeltaFile
+4-0tools/build/mk/OptionalObsoleteFiles.inc
+4-01 files

FreeBSD/src d8fe9fctools/build/mk OptionalObsoleteFiles.inc

Remove `/usr/share/examples/oci` when MK_EXAMPLES == no

MFC after:      1 week
Fixes:          d03c82c28da86 ("release: add optional OCI images")

(cherry picked from commit ab53a4e9b95de1f6f58a8316b4c4eccf0b1760a2)
DeltaFile
+3-0tools/build/mk/OptionalObsoleteFiles.inc
+3-01 files

LLVM/project 5a52d68llvm/lib/MC/MCParser COFFMasmParser.cpp, llvm/lib/Target/X86/AsmParser X86AsmParser.cpp

[llvm-ml] Add MASM unwind v3 support for x64 exception handling and improve MSVC compat (#202809)

New command-line options:
- `/unwindv3`: Enable V3 unwind information format

New MASM directives:
- `.push2reg` / `.pop2reg`: Push/pop register pairs (PUSH2/POP2)
- `.beginepilog` / `.endepilog`: Delimit epilog unwind regions
- `.popreg`, `.freestack`, `.restorereg`, `.restorexmm128`,
`.unsetframe`: Epilog counterparts of existing prolog directives
- `.pushframe code`: MASM syntax for interrupt handlers with error codes

New built-in symbol:
- `@UnwindVersion`: Returns the current x64 unwind version being used.

Error diagnostics:
- Prolog directives after `.endprolog` are diagnosed
- Epilog directives outside `.beginepilog`/`.endepilog` are diagnosed
- Nested `.beginepilog` is diagnosed
- Unwind v3 directives or using extended registers in directives without
unwind v3 are diagnosed
DeltaFile
+278-0llvm/test/tools/llvm-ml/epilog_directives.asm
+177-0llvm/test/tools/llvm-ml/proc_frame_v3.asm
+87-2llvm/lib/MC/MCParser/COFFMasmParser.cpp
+74-12llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+61-0llvm/test/tools/llvm-ml/unwindv3_required_errors.asm
+45-0llvm/test/tools/llvm-ml/prolog_directive_errors.asm
+722-1410 files not shown
+930-1416 files

LLVM/project 0ab7800clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.h, clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowExtractor.cpp

Reland "[SSAF][Extractor] Make hard errors in PointerFlow and UnsafeBufferUsage Extractors quiet (#201953)"

Reverted 7dcd1d2ad104c3f9748370a42dc775cd6e7e34dc and
added '#ifndef NDEBUG' guards for tests using 'llvm::setCurrentDebugType'.

Original message:

Hard errors were used in extractors during development to quickly
identify unsupported language constructs. This commit converts them to
DEBUG_WITH_TYPE so that these errors are silenced in release builds.

In addition, translating unsupported language constructs now silently
results in an empty EntityPointerLevelSet. The PointerFlowExtractor will
skip empty sets for either the source or the destination when building
edges to avoid an ill-formed edge set data structure.

rdar://178747892
DeltaFile
+45-2clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+28-0clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+15-12clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
+11-11clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+9-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+108-255 files

LLVM/project 660771dllvm/include/llvm/ADT Bitset.h, llvm/unittests/ADT BitsetTest.cpp

Reapply "[ADT] Bitset: add shift operators, word accessors, and etc" (#195874)

Reapplies #193400, which was reverted in #195848 because it broke
buildbots with:

```
Bitset.h:271: error: static assertion failed: Unsupported word size
```

Root cause: a `static_assert(BitwordBits == 32, ...)` inside the
discarded `else` branch of `if constexpr (BitwordBits == 64)` in
`getWord64()`. The assert's condition is non-template-dependent
(`BitwordBits` derives from `sizeof(uintptr_t)`, not from `NumBits`), so
it is checked even though the branch is discarded, and fires on 64-bit
hosts. Related:
https://stackoverflow.com/questions/38304847/how-does-a-failed-static-assert-work-in-an-if-constexpr-false-block

Fix: drop the redundant inner `static_assert`. The class-level
`static_assert(BitwordBits == 64 || BitwordBits == 32, ...)` already

    [6 lines not shown]
DeltaFile
+313-111llvm/unittests/ADT/BitsetTest.cpp
+97-4llvm/include/llvm/ADT/Bitset.h
+410-1152 files

FreeBSD/src baee439tools/build/mk OptionalObsoleteFiles.inc

Remove `/usr/share/examples/oci` when MK_EXAMPLES == no

MFC after:      1 week
Fixes:          d03c82c28da86 ("release: add optional OCI images")

(cherry picked from commit ab53a4e9b95de1f6f58a8316b4c4eccf0b1760a2)
DeltaFile
+3-0tools/build/mk/OptionalObsoleteFiles.inc
+3-01 files

FreeBSD/src 7a8911etools/build/mk OptionalObsoleteFiles.inc

Preen/update list for share/examples/sound under `MK_EXAMPLES`

- Update sources to match current installed files list. This involved
  adding and removing some example files.
- Sort the list alphabetically so it'll be easier to spot future updates.

MFC after:      1 week

(cherry picked from commit b9495bd8c13e95035366b4e699b9ebe9f3d5c543)
DeltaFile
+7-3tools/build/mk/OptionalObsoleteFiles.inc
+7-31 files

FreeBSD/src aab35edtools/build/mk OptionalObsoleteFiles.inc

Remove all of /usr/tests/share/examples/... when MK_EXAMPLES == no

- Remove the generated files (`file1`).
- Remove the top-level example `Kyuafile`.

MFC after:      1 week

(cherry picked from commit fb7df70a479f7cf972073f3a779adba2b4517c31)
DeltaFile
+4-0tools/build/mk/OptionalObsoleteFiles.inc
+4-01 files

FreeBSD/src 6faa82bshare/man/man7 security.7

security(7): fix `mandoc -T lint` complaints

- Add `.Nm` section for securelevel(7) to match corresponding MLINKS entry.
- Fix the spelling for mac(4) (the actual subsystem manpage is spelled out in
  lowercase.

MFC after:      1 week

(cherry picked from commit 573a9e5764df04d2dbfb0cf174458936b0a97095)
DeltaFile
+3-2share/man/man7/security.7
+3-21 files

FreeBSD/src 3e9b85f. MAINTAINERS, .github CODEOWNERS

OpenSSL: update MAINTAINERS/CODEOWNERS

I've been the quasi-defacto component maintainer for OpenSSL since
14.0-RELEASE. Make it official via CODEOWNERS/MAINTAINERS.

The goal is to help guide those interested in making changes in this
space to solicit my input with the new vendor import process and
coordinate fixes with upstream until things are at a point where most of
this is automated a system of automated checks and balances to confirm
that the updates being made to the component help maintain a security
supply chain for this given component.

Thank you benl and jkim for your past efforts in this component area.
Hopefully I can do my part to help improve this critical space further
as you both did in your respective tenures.

MFC after:      3 days

(cherry picked from commit 8f9aabbdbcd55b25b698bd762e8693d43f295bbd)
DeltaFile
+5-3.github/CODEOWNERS
+1-1MAINTAINERS
+6-42 files

FreeBSD/src 0ac48eatests/sys/netinet6/frag6 frag6_19.sh

Revert "Skip sys.netinet6.frag6.frag6_19.frag6_19 in CI"

Per [siva@'s comment on the PR][1], this testcase now passes cleanly in CI.

PR:     274941
MFC after:      1 week

[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274941#c6

This reverts commit 86e87c3bd1b377242aafe7e2222ae17ca0be96d9.

(cherry picked from commit 3348fa7a45fdf14a7af509e306229bd211444f1e)
DeltaFile
+0-3tests/sys/netinet6/frag6/frag6_19.sh
+0-31 files

Linux/linux 2860828drivers/spi spi-geni-qcom.c spi-dw-core.c

Merge tag 'spi-fix-v7.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi

Pull spi fixes from Mark Brown:
 "A couple of driver specific fixes: a small targeted fix for hardware
  error handling on DesignWare controllers and another for handling of
  custom chip select management on Qualcomm GENI controllers"

* tag 'spi-fix-v7.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
  spi: dw: fix race between IRQ handler and error handler on SMP
  spi: qcom-geni: Fix cs_change handling on the last transfer
DeltaFile
+19-8drivers/spi/spi-geni-qcom.c
+2-0drivers/spi/spi-dw-core.c
+21-82 files

LLVM/project 0451b65clang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp Origins.cpp

[LifetimeSafety] Track per-field origins for record types
DeltaFile
+315-5clang/test/Sema/warn-lifetime-safety.cpp
+69-37clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+93-6clang/lib/Analysis/LifetimeSafety/Origins.cpp
+31-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+4-6clang/test/Sema/warn-lifetime-safety-dangling-field.cpp
+0-2clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+512-566 files

LLVM/project ab2ddf7clang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h, clang/lib/Analysis/LifetimeSafety Origins.cpp

[LifetimeSafety][NFC] Collect accessed fields in a unified pre-scan
DeltaFile
+22-8clang/lib/Analysis/LifetimeSafety/Origins.cpp
+15-4clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+37-122 files

LLVM/project 8566733clang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp Facts.cpp

[LifetimeSafety][NFC] Add field-labeled child edges to OriginNode and generalize subtree walks
DeltaFile
+76-33clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+38-18clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+18-8clang/lib/Analysis/LifetimeSafety/Facts.cpp
+8-3clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
+7-3clang/lib/Analysis/LifetimeSafety/Origins.cpp
+147-655 files

LLVM/project 9196bd6llvm/lib/Target/RISCV RISCVRegisterInfo.td, llvm/test/MC/RISCV/rvy rvyc-valid-load-store.s rvy-valid-load-store.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+465-0llvm/test/MC/RISCV/rvy/rvyc-valid-load-store.s
+274-12llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+209-0llvm/utils/TableGen/Common/CodeGenHwModes.cpp
+199-0llvm/test/MC/RISCV/rvy/rvy-valid-load-store.s
+144-0llvm/test/MC/RISCV/rvy/rvyc-invalid-load-store.s
+79-38llvm/lib/Target/RISCV/RISCVRegisterInfo.td
+1,370-5042 files not shown
+2,615-23948 files

LLVM/project 65e8d41llvm/lib/Target/RISCV RISCVInstrInfoY.td RISCVRegisterInfo.td, llvm/test/MC/RISCV/rvy rvyc-valid-load-store.s rvy-valid-load-store.s

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.8-beta.1

[skip ci]
DeltaFile
+465-0llvm/test/MC/RISCV/rvy/rvyc-valid-load-store.s
+274-12llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+199-0llvm/test/MC/RISCV/rvy/rvy-valid-load-store.s
+144-0llvm/test/MC/RISCV/rvy/rvyc-invalid-load-store.s
+123-1llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+79-38llvm/lib/Target/RISCV/RISCVRegisterInfo.td
+1,284-5133 files not shown
+2,005-17339 files

LLVM/project bb5efe8llvm/lib/Target/RISCV RISCVInstrInfoY.td RISCVRegisterInfo.td, llvm/test/MC/RISCV/rvy rvyc-valid-load-store.s rvy-valid-load-store.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+465-0llvm/test/MC/RISCV/rvy/rvyc-valid-load-store.s
+274-12llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+199-0llvm/test/MC/RISCV/rvy/rvy-valid-load-store.s
+144-0llvm/test/MC/RISCV/rvy/rvyc-invalid-load-store.s
+123-1llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+79-38llvm/lib/Target/RISCV/RISCVRegisterInfo.td
+1,284-5133 files not shown
+2,005-17339 files