LLVM/project cdce9cdutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes b813b0b (#189759)

This fixes b813b0b4e485b0323b51071aca7a415b30c3aa6f.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

LLVM/project 051309fclang/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 31365d3clang/include/clang/Basic DiagnosticSemaKinds.td LangOptions.def, 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/include/clang/Basic/LangOptions.def
+105-01 files not shown
+106-07 files

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

[Clang] [C++26] Expansion Statements (Part 9)
DeltaFile
+135-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
+6-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+5-1clang/include/clang/Sema/ScopeInfo.h
+221-141 files not shown
+223-157 files

LLVM/project 1a69232clang/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
+430-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-control-flow.cpp
+208-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-templates.cpp
+134-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-mangling.cpp
+3,331-03 files not shown
+3,372-39 files

LLVM/project c9bc317llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rv32p.ll

[RISCV][P-ext] Support i32 ushlsat on RV32. (#189730)

We have a sshl instruction on RV32 in the 0.21 spec. Unfortunately,
we don't have a SSLLI instruction, but we can put a constant shift
amount in a register.
DeltaFile
+67-0llvm/test/CodeGen/RISCV/rv32p.ll
+2-5llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+2-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+71-53 files

LLVM/project 89dec12lldb/include/lldb/Target Platform.h, lldb/source/Core Module.cpp

[lldb][Platform] Handle LoadScriptFromSymFile per-module FileSpec (#189696)

This patch changes the `Platform::LocateXXX` to return a map from
`FileSpec` to `LoadScriptFromSymFile` enum.

This is needed for https://github.com/llvm/llvm-project/pull/188722,
where I intend to set `LoadScriptFromSymFile` per-module.

By default the `Platform::LocateXXX` set the value to whatever the
target's current `target.load-script-from-symbol-file` is set to. In
https://github.com/llvm/llvm-project/pull/188722 we'll allow overriding
this per-target setting on a per-module basis.

Drive-by:
* Added logging when we fail to load a script.
DeltaFile
+69-84lldb/unittests/Platform/PlatformDarwinTest.cpp
+70-67lldb/unittests/Platform/PlatformTest.cpp
+18-12lldb/source/Target/Platform.cpp
+15-11lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+7-14lldb/source/Core/Module.cpp
+10-8lldb/include/lldb/Target/Platform.h
+189-1961 files not shown
+196-2007 files

LLVM/project b7dc4ffllvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

[TargetLowering] Replace always true if with an assert. NFC (#189750)

We already returned for UADDSAT/USUBSAT leaving SADDSAT/SSUBSAT as the
only opcodes that can get here.
DeltaFile
+26-26llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+26-261 files

LLVM/project d8e9e0allvm/include/llvm/Transforms/Vectorize/SandboxVectorizer VecUtils.h, llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h

[SandboxVec][LoadStoreVec] Initial pass implementation (#188308)

This patch implements a new simple region pass that can vectorize
store-load chains.
DeltaFile
+320-0llvm/test/Transforms/SandboxVectorizer/load_store_vec.ll
+145-0llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+81-0llvm/unittests/Transforms/Vectorize/SandboxVectorizer/VecUtilsTest.cpp
+50-0llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+24-2llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
+3-1llvm/lib/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizer.cpp
+623-34 files not shown
+628-310 files

LLVM/project 911dc41compiler-rt/test/asan/TestCases/Linux free_aligned_sized_mismatch.cpp

[compiler-rt][asan] Forward fix for free_aligned_sized_mismatch.cpp (#189760)

Mark this test as UNSUPPORTED for android since android's libc doesn't
seem to support aligned_alloc.
DeltaFile
+3-0compiler-rt/test/asan/TestCases/Linux/free_aligned_sized_mismatch.cpp
+3-01 files

LLVM/project f2f54b6llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rv32p.ll

[RISCV][P-ext] Support i32 avgfloors/avgflooru on RV32. (#189736)
DeltaFile
+50-0llvm/test/CodeGen/RISCV/rv32p.ll
+6-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+4-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+60-03 files

LLVM/project 6e82a24llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVInstrInfoXAIF.td, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[RISCV][P-ext] Rename simm8_unsigned/simm10_unsigned used PLUI/PLI. NFC (#188808)

Replace unsigned with plui or pli_b to better indicate their usage.

Templatize the render function and rename it addSExtImm instead of
addSImm*Unsigned.
DeltaFile
+23-25llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+7-14llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+2-0llvm/lib/Target/RISCV/RISCVInstrInfoXAIF.td
+32-393 files

LLVM/project b813b0bmlir/include/mlir/Dialect/MemRef/IR MemRefOps.td, mlir/lib/Dialect/MemRef/IR MemRefOps.cpp

[mlir][MemRef] Migrate memref dialect alias op folding to interface (#187168)

This PR adds code to FoldMemRefAliasOps / --fold-memref-alias-ops to use
the new IndexedMemoryAccessOpInterface and
IndexedMemCopyOpInterface and implement those operations for relevant
operations in the memref dialect.

This is a reordering of the changes planned in #177014 and #177016 to
make them more testable.

There are no behavior changes expected for how memref.load and
memref.store behave within the alias ops folding pass, though support
for new operations, like memref.prefetch, has been added.

Some error messages have been updated because certain laws of
memref.load/memref.store have been moved to IndexedAccessOpInterface.

Assisted-by: Claude 4.6 (helped deal with some of the boilerplate in the
rewrite patterns and with extracting the patch)
DeltaFile
+328-25mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
+145-0mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
+81-18mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
+36-8mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
+2-2mlir/test/Dialect/Linalg/invalid.mlir
+2-2mlir/test/Dialect/MemRef/invalid.mlir
+594-551 files not shown
+595-557 files

LLVM/project b0dfd5bcompiler-rt/lib/asan asan_errors.cpp asan_allocator.cpp, compiler-rt/test/asan/TestCases/Linux free_sized_mismatch.cpp free_aligned_sized_mismatch.cpp

Revert "[asan] Add size/alignment checks for free_[aligned_]sized (#189216)"

This reverts commit 78c5d68029c0507123de28ecbe242490ee487b16.
DeltaFile
+0-55compiler-rt/test/asan/TestCases/Linux/free_sized_mismatch.cpp
+0-47compiler-rt/test/asan/TestCases/Linux/free_aligned_sized_mismatch.cpp
+0-41compiler-rt/lib/asan/asan_errors.cpp
+10-20compiler-rt/lib/asan/asan_allocator.cpp
+0-20compiler-rt/lib/asan/asan_errors.h
+0-8compiler-rt/lib/asan/asan_report.cpp
+10-1912 files not shown
+10-1968 files

LLVM/project 14b666aclang/lib/Serialization ASTReader.cpp

cmt

Created using spr 1.3.7
DeltaFile
+2-0clang/lib/Serialization/ASTReader.cpp
+2-01 files

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

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

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