LLVM/project 96fd231flang/docs C++style.md

[flang] Add guidelines for referencing the Fortran Standard (#188591)

In response to [[RFC] Qualifying syntax rule numbers with Fortran
standard version in
comments](https://discourse.llvm.org/t/rfc-qualifying-syntax-rule-numbers-with-fortran-standard-version-in-comments/90167)
this PR adds a section on guidelines for referencing the Fortran
Standard.
DeltaFile
+12-0flang/docs/C++style.md
+12-01 files

LLVM/project 5680695llvm/test/CodeGen/AMDGPU memintrinsic-unroll.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i64-stride-7.ll vector-interleaved-store-i64-stride-7.ll

update

Created using spr 1.3.7
DeltaFile
+6,835-6,798llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+6,432-6,562llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+4,982-4,991llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+4,590-4,623llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-6.ll
+4,364-4,820llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+3,814-3,848llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-8.ll
+31,017-31,6422,588 files not shown
+143,380-88,1082,594 files

LLVM/project 3aa9a53llvm/test/CodeGen/AMDGPU memintrinsic-unroll.ll, llvm/test/CodeGen/X86 vector-interleaved-load-i64-stride-7.ll vector-interleaved-store-i64-stride-7.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+6,835-6,798llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+6,432-6,562llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+4,982-4,991llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+4,590-4,623llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-6.ll
+4,364-4,820llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+3,814-3,848llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-8.ll
+31,017-31,6422,588 files not shown
+143,362-88,0862,594 files

OpenZFS/src ce837a2include/sys dmu.h, module/zfs dmu_zfetch.c dmu.c

Bridge speculative and prescient prefetchers

There are cases when we need to read large objects sequentially.
Prescient prefetcher may be limited by size, trying to prefetch
it all at once.  Speculative prefetcher can do it nicer for ARC,
but needs a ramp-up period at the beginning.

To cover this gap, introduce dmu_prefetch_stream(), priming the
speculative prefetcher to either go full speed on first demand
request, or even start some prefetch immediately, but continue
following the demand later.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #18351
DeltaFile
+63-6module/zfs/dmu_zfetch.c
+50-0module/zfs/dmu.c
+4-4module/zfs/spa_log_spacemap.c
+4-0include/sys/dmu.h
+1-2module/zfs/ddt_log.c
+1-2module/zfs/space_map.c
+123-141 files not shown
+124-147 files

LLVM/project f43ee18lldb/include/lldb/ValueObject ValueObject.h DILEval.h, lldb/source/Target StackFrame.cpp

[LLDB] Add allow_var_updates to DIL and CanUpdateVar to SetValueFromInteger (#186421)

In preparation for updating DIL to handle assignments, this adds a
member variable to the DIL Interpreter indicating whether or not
updating program variables is allowed. For invocations from the LLDB
command prompt (through "frame variable") we want to allow it, but from
other places we might not. Therefore we also add new StackFrame
ExpressionPathOption, eExpressionPathOptionsAllowVarUpdates, which we
add to calls from CommandObjectFrame, and which is checked in
GetValueForVariableExpressionPath. Finally, we also add a parameter,
can_update_vars, with a default value of true, to
ValueObject::SetValueFromInteger, as that will be the main function used
to by assignment in DIL.
DeltaFile
+18-15lldb/source/ValueObject/ValueObject.cpp
+16-7lldb/source/ValueObject/DILParser.cpp
+16-4lldb/source/ValueObject/DILEval.cpp
+9-9lldb/include/lldb/ValueObject/ValueObject.h
+4-12lldb/source/Target/StackFrame.cpp
+3-2lldb/include/lldb/ValueObject/DILEval.h
+66-493 files not shown
+71-539 files

FreeBSD/ports 3606518archivers/appscript distinfo Makefile

archivers/appscript: Update to 0.1.0

ChangeLog: https://github.com/DtxdF/appscript/releases/tag/v0.1.0
DeltaFile
+3-3archivers/appscript/distinfo
+1-1archivers/appscript/Makefile
+4-42 files

LLVM/project d849742llvm/lib/MC MCAsmBaseStreamer.cpp MCAsmStreamer.cpp

Move implementation of MCAsmBaseStreamer into MCAsmStreamer.cpp
DeltaFile
+0-143llvm/lib/MC/MCAsmBaseStreamer.cpp
+118-0llvm/lib/MC/MCAsmStreamer.cpp
+0-1llvm/lib/MC/CMakeLists.txt
+118-1443 files

LLVM/project 5d8f422clang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Options Options.td

[Clang] [C++26] Expansion Statements (Part 10)
DeltaFile
+69-0clang/test/SemaCXX/cxx2c-expansion-stmts-limit.cpp
+18-0clang/lib/Sema/SemaExpand.cpp
+9-0clang/test/SemaCXX/cxx2c-fexpansion-statements.cpp
+4-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+4-0clang/include/clang/Options/Options.td
+1-0clang/lib/Driver/ToolChains/Clang.cpp
+105-01 files not shown
+106-07 files

LLVM/project 514668fclang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticCommonKinds.td

[Clang] [C++26] Expansion Statements (Part 11)
DeltaFile
+104-0clang/test/AST/ast-print-expansion-stmts.cpp
+49-0clang/test/AST/ast-dump-expansion-stmt.cpp
+0-4clang/include/clang/Basic/DiagnosticCommonKinds.td
+1-1clang/www/cxx_status.html
+1-0clang/docs/ReleaseNotes.rst
+155-55 files

LLVM/project c1ebd2fcompiler-rt/test CMakeLists.txt

[compiler-rt] Disable asan tests on GNU/Hurd (#169209)

Like OpenBSD, asan does not support GNU/Hurd yet.
DeltaFile
+2-2compiler-rt/test/CMakeLists.txt
+2-21 files

LLVM/project cb14ad9clang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Sema ScopeInfo.h

[Clang] [C++26] Expansion Statements (Part 9)
DeltaFile
+117-0clang/test/SemaCXX/cxx2c-expansion-stmts-control-flow.cpp
+38-9clang/lib/Sema/SemaLookup.cpp
+28-2clang/lib/Sema/SemaStmt.cpp
+9-2clang/lib/Parse/ParseStmt.cpp
+5-1clang/include/clang/Sema/ScopeInfo.h
+6-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+203-141 files not shown
+205-157 files

LLVM/project b40abf9clang/lib/AST ExprConstant.cpp, clang/lib/AST/ByteCode Compiler.cpp Compiler.h

[Clang] [C++26] Expansion Statements (Part 7)
DeltaFile
+1,472-0clang/test/SemaCXX/cxx2c-expansion-stmts.cpp
+42-0clang/lib/AST/ByteCode/Compiler.cpp
+40-0clang/lib/AST/ExprConstant.cpp
+2-1clang/lib/AST/ByteCode/Compiler.h
+3-0clang/lib/Sema/SemaDeclCXX.cpp
+1,559-15 files

LLVM/project eb76ff7clang/lib/CodeGen CGStmt.cpp, clang/test/CodeGenCXX cxx2c-enumerating-expansion-statements.cpp cxx2c-iterating-expansion-stmt.cpp

[Clang] [C++26] Expansion Statements (Part 8)
DeltaFile
+1,518-0clang/test/CodeGenCXX/cxx2c-enumerating-expansion-statements.cpp
+548-0clang/test/CodeGenCXX/cxx2c-iterating-expansion-stmt.cpp
+493-0clang/test/CodeGenCXX/cxx2c-destructuring-expansion-stmt.cpp
+429-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-control-flow.cpp
+208-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-templates.cpp
+40-1clang/lib/CodeGen/CGStmt.cpp
+3,236-12 files not shown
+3,245-38 files

LLVM/project 3ed48bfflang/include/flang/Evaluate tools.h, flang/lib/Optimizer/Transforms/CUDA CUFAddConstructor.cpp CUFOpConversionLate.cpp

Revert "[flang][cuda] Support non-allocatable module-level managed variables" (#189745)

Reverts llvm/llvm-project#188526
DeltaFile
+14-70flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
+0-39flang/test/Fir/CUDA/cuda-device-address.mlir
+1-36flang/test/Fir/CUDA/cuda-constructor-2.f90
+0-36flang/test/Lower/CUDA/cuda-data-transfer.cuf
+5-31flang/include/flang/Evaluate/tools.h
+2-20flang/lib/Optimizer/Transforms/CUDA/CUFOpConversionLate.cpp
+22-2327 files not shown
+23-29313 files

LLVM/project 6499291clang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Sema Sema.h

[Clang] [C++26] Expansion Statements (Part 5)
DeltaFile
+499-14clang/lib/Sema/SemaExpand.cpp
+71-0clang/lib/Sema/TreeTransform.h
+21-15clang/lib/Sema/SemaStmt.cpp
+12-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+12-0clang/include/clang/Sema/Sema.h
+615-295 files

LLVM/project da63375clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaExpand.cpp TreeTransform.h

[Clang] [C++26] Expansion Statements (Part 6)
DeltaFile
+105-6clang/lib/Sema/SemaExpand.cpp
+23-3clang/lib/Sema/TreeTransform.h
+2-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+130-93 files

LLVM/project 393c107clang/include/clang/Parse Parser.h, clang/include/clang/Sema Sema.h Scope.h

[Clang] [C++26] Expansion Statements (Part 4)
DeltaFile
+266-221clang/lib/Sema/SemaStmt.cpp
+2-83clang/include/clang/Parse/Parser.h
+11-44clang/lib/Parse/Parser.cpp
+48-3clang/include/clang/Sema/Sema.h
+40-1clang/include/clang/Sema/Scope.h
+20-17clang/lib/Parse/ParseStmt.cpp
+387-36915 files not shown
+538-45021 files

LLVM/project 42903b3clang/lib/Sema SemaExpand.cpp TreeTransform.h, clang/test/Parser cxx2c-expansion-statements.cpp

[Clang] [C++26] Expansion Statements (Part 3)
DeltaFile
+164-0clang/lib/Sema/SemaExpand.cpp
+86-4clang/lib/Sema/TreeTransform.h
+40-40clang/test/Parser/cxx2c-expansion-statements.cpp
+37-1clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+26-3clang/lib/Sema/SemaTemplateInstantiate.cpp
+5-15clang/test/SemaTemplate/GH176155.cpp
+358-634 files not shown
+388-6510 files

LLVM/project 0454de8mlir/lib/Dialect/Arith/Transforms IntRangeOptimizations.cpp, mlir/test/Dialect/Arith int-range-narrowing.mlir

[mlir][Arith] Avoid sign overflow when narrowing signed operations (#189676)

Whether an arith operation can be truncated to a given bitwidth should
also depend on the sign semantics of the operation itself. Consider:
```
%input = /* upper bound > INT32_MAX, <= UINT32_MAX */ : index
%c0 = arith.constant 0 : index
%cmp = arith.cmpi sle, %input, %c0 : index
```

Previously, `checkTruncatability()` would correctly judge that only an
unsigned truncation could be legal, however the narrowing would still
proceed despite the fact that the `sle` predicate treated the MSB as the
sign.

Ensure that the sign is checked for signed comparison predicates and for
signed elementwise operations by enforcing a `CastKind::Signed`
restriction, whereby the narrowing patterns bail out on incompatible
input range/operation signedness.

    [11 lines not shown]
DeltaFile
+97-0mlir/test/Dialect/Arith/int-range-narrowing.mlir
+27-1mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
+124-12 files

LLVM/project 3e56002llvm/include/llvm/MC MCAsmStreamer.h, llvm/lib/MC MCAsmBaseStreamer.cpp MCAsmStreamer.cpp

[MC] Move addEncodingComment() into new base class MCAsmBaseStreamer

This is in preparation to use this functionality in the
SystemZHLASMAsmStreamer. No functional change.
DeltaFile
+143-0llvm/lib/MC/MCAsmBaseStreamer.cpp
+4-132llvm/lib/MC/MCAsmStreamer.cpp
+32-1llvm/include/llvm/MC/MCAsmStreamer.h
+1-0llvm/lib/MC/CMakeLists.txt
+180-1334 files

LLVM/project 7b5b19dllvm/include/llvm/MC MCAsmBaseStreamer.h MCAsmStreamer.h, llvm/lib/MC MCAsmStreamer.cpp

Use MCAsmStreamer.h instead of MCAsmBaseStreamer.h
DeltaFile
+0-30llvm/include/llvm/MC/MCAsmBaseStreamer.h
+30-0llvm/include/llvm/MC/MCAsmStreamer.h
+1-1llvm/lib/MC/MCAsmStreamer.cpp
+31-313 files

LLVM/project 12acb9dclang/include/clang/Parse Parser.h, clang/include/clang/Sema Sema.h

[Clang] [C++26] Expansion Statements (Part 2)
DeltaFile
+182-14clang/lib/Parse/ParseStmt.cpp
+76-0clang/lib/Sema/SemaExpand.cpp
+65-0clang/test/Parser/cxx2c-expansion-statements.cpp
+28-31clang/lib/Parse/ParseDecl.cpp
+37-3clang/include/clang/Parse/Parser.h
+32-1clang/include/clang/Sema/Sema.h
+420-498 files not shown
+485-6014 files

LLVM/project 8e338ceclang/include/clang/AST StmtCXX.h DeclTemplate.h, clang/lib/AST StmtCXX.cpp ASTImporter.cpp

[Clang] [C++26] Expansion Statements (Part 1)
DeltaFile
+515-0clang/include/clang/AST/StmtCXX.h
+157-0clang/lib/AST/StmtCXX.cpp
+121-0clang/include/clang/AST/DeclTemplate.h
+120-0clang/lib/AST/ASTImporter.cpp
+47-0clang/lib/Serialization/ASTReaderStmt.cpp
+46-0clang/include/clang/AST/ExprCXX.h
+1,006-041 files not shown
+1,371-3247 files

LLVM/project f9ded0eclang/lib/CIR/Dialect/IR CIRAttrs.cpp, clang/test/CIR/IR string-trailing-zeros.cir

[CIR] Fix incorrect ConstArrayAttr trailing_zeros parsing (#188742)

Closes #187699 .

Fix incorrect parsing of `ConstArrayAttr`. `parse` method incorrectly
used type of `elts` parameter as type of the whole array. This means
that when reading back text or bytecode clangir files attribute did not
have correct type and correct `trailingZerosNum`. Type was always of
inner `elts`, meaning smaller then actual type if any trailing zeros
were present and `trailingZerosNum` was always zero.
DeltaFile
+20-0clang/test/CIR/IR/string-trailing-zeros.cir
+6-7clang/lib/CIR/Dialect/IR/CIRAttrs.cpp
+26-72 files

NetBSD/pkgsrc-wip 085da5etex-tabto-ltx Makefile DESCR, tex-tabto-ltx-doc Makefile distinfo

wip/tex-tabto-ltx{,-doc}: import tex-tabto-ltx-1.4 as wip/tex-tabto-ltx

\tabto{<length>} moves the typesetting position to <length>
from the left margin of the paragraph. If the typesetting
position is already further along, \tabto starts a new line;
the command \tabto* will move position backwards if necessary,
so that previous text may be overwritten. The command
\TabPositions may be used to define a set of tabbing positions,
after which the command \tab advances typesetting position to
the next defined 'tab stop'.
DeltaFile
+15-0tex-tabto-ltx/Makefile
+13-0tex-tabto-ltx-doc/Makefile
+8-0tex-tabto-ltx/DESCR
+5-0tex-tabto-ltx/distinfo
+5-0tex-tabto-ltx-doc/distinfo
+4-0tex-tabto-ltx-doc/PLIST
+50-03 files not shown
+55-09 files

LLVM/project 73ccc78flang/include/flang/Evaluate tools.h, flang/lib/Optimizer/Transforms/CUDA CUFAddConstructor.cpp CUFOpConversionLate.cpp

Revert "[flang][cuda] Support non-allocatable module-level managed variables …"

This reverts commit c4e6cf0abff628f9c018428e0d4beed8788efdf9.
DeltaFile
+14-70flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
+0-39flang/test/Fir/CUDA/cuda-device-address.mlir
+1-36flang/test/Fir/CUDA/cuda-constructor-2.f90
+5-31flang/include/flang/Evaluate/tools.h
+0-36flang/test/Lower/CUDA/cuda-data-transfer.cuf
+2-20flang/lib/Optimizer/Transforms/CUDA/CUFOpConversionLate.cpp
+22-2327 files not shown
+23-29313 files

LLVM/project fd1a891clang/lib/Serialization ASTReader.cpp

[NFC] [clang] swap parameters to checkTargetOptions (#187608)

This is the correct order according to the function prototype.

This should be NFC, because for PCH, AllowCompatibleDifferences
is always false: it is only used in isAcceptableASTFile, which
calls readASTFileControlBlock, which explicitely passes false.

We explicitely pass in `nullptr` for Diag, so the incorrect error
message isn't printed.
DeltaFile
+1-1clang/lib/Serialization/ASTReader.cpp
+1-11 files

NetBSD/pkgsrc-wip d98b867tex-pdf14 Makefile DESCR, tex-pdf14-doc Makefile distinfo

wip/tex-pdf14{,-doc}: import tex-pdf14-0.1 as wip/tex-pdf14

Starting with TeX Live 2010, the various formats, that directly
generate PDF, default to generating PDF 1.5. This is generally
a good thing, but it can lead to compatibility issues with some
older PDF viewers. This package changes the version of PDF
generated with formats (based on pdfTeX or LuaTeX in PDF mode),
back to 1.4 for documents that need to achieve maximal
compatibility with old viewers.
DeltaFile
+13-0tex-pdf14/Makefile
+13-0tex-pdf14-doc/Makefile
+7-0tex-pdf14/DESCR
+5-0tex-pdf14-doc/distinfo
+5-0tex-pdf14/distinfo
+4-0tex-pdf14-doc/PLIST
+47-03 files not shown
+52-09 files

LLVM/project be006bcllvm/include/llvm/IR IntrinsicsSPIRV.td, llvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp

[SPIRV] Add get dimension intrinsics.

Add the intrinsics in the wg-hlsl proposal
[[0033] - GetDimensions mapping to built-ins functions and LLVM intrinsics](https://github.com/llvm/wg-hlsl/blob/main/proposals/0033-resources-get-dimensions.md#lowering-to-spir-v)
to the SPIR-V backend. This enabled us to implement the GetDimensions methods
in textures in Clang.

Assisted-by: Gemini
DeltaFile
+221-0llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+106-0llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll
+25-0llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensionsFloat.ll
+15-1llvm/include/llvm/IR/IntrinsicsSPIRV.td
+367-14 files

NetBSD/pkgsrc-wip 8660863tex-nag Makefile PLIST, tex-nag-doc Makefile distinfo

wip/tex-nag{,-doc}: import tex-nag-0.7 as wip/tex-nag

Old habits die hard. All the same, there are commands, classes
and packages which are outdated and superseded. The nag package
provides routines to warn the user about the use of such
obsolete things. As an example, we provide an extension that
detects many of the "sins" described in l2tabu.
DeltaFile
+13-0tex-nag-doc/Makefile
+13-0tex-nag/Makefile
+6-0tex-nag/PLIST
+5-0tex-nag/distinfo
+5-0tex-nag-doc/distinfo
+5-0tex-nag/DESCR
+47-03 files not shown
+54-09 files