LLVM/project f5faf29llvm/lib/Target/Lanai LanaiCodeGenPassBuilder.cpp

[Lanai] Force AsmPrinterEndPass (#206623)

So that no pass instrumentation ends up preventing the addition of this
necessary pass.

Also makes this consistent with X86.
DeltaFile
+1-1llvm/lib/Target/Lanai/LanaiCodeGenPassBuilder.cpp
+1-11 files

LLVM/project 0b7062eclang/lib/ScalableStaticAnalysis/Analyses SSAFAnalysesCommon.h

fix build issue
DeltaFile
+2-2clang/lib/ScalableStaticAnalysis/Analyses/SSAFAnalysesCommon.h
+2-21 files

LLVM/project fc654d4clang/include/clang/AST OpenMPClause.h

[Clang][OpenMP][NFC] Remove unnecessary LParentLoc in clause classes (#206386)

The LParentLoc is already a data member of the OMPVarListClause class.
The OMPThreadLimitClause and OMPNumTeamsClause classes inherit from
OMPVarListClause and should not need to have their own LParentLoc.
DeltaFile
+0-18clang/include/clang/AST/OpenMPClause.h
+0-181 files

LLVM/project dde9862llvm/lib/Target/MSP430 MSP430CodeGenPassBuilder.cpp MSP430PassRegistry.def

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+69-0llvm/lib/Target/MSP430/MSP430CodeGenPassBuilder.cpp
+26-0llvm/lib/Target/MSP430/MSP430PassRegistry.def
+8-0llvm/lib/Target/MSP430/MSP430TargetMachine.h
+6-0llvm/lib/Target/MSP430/CMakeLists.txt
+6-0llvm/lib/Target/MSP430/MSP430.h
+5-0llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
+120-06 files

LLVM/project 14703c9llvm/lib/Target/MSP430 MSP430CodeGenPassBuilder.cpp MSP430BranchSelector.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+68-0llvm/lib/Target/MSP430/MSP430CodeGenPassBuilder.cpp
+32-11llvm/lib/Target/MSP430/MSP430BranchSelector.cpp
+21-0llvm/lib/Target/MSP430/MSP430PassRegistry.def
+16-1llvm/lib/Target/MSP430/MSP430.h
+8-0llvm/lib/Target/MSP430/MSP430TargetMachine.h
+6-0llvm/lib/Target/MSP430/CMakeLists.txt
+151-122 files not shown
+157-138 files

LLVM/project df8b27dlldb/source/Target TraceDumper.cpp

[lldb][NFC] Change string types in static TraceDumper functions (#206604)

I plan on using this in a subsequent commit.
DeltaFile
+11-11lldb/source/Target/TraceDumper.cpp
+11-111 files

LLVM/project 8ed0ecflldb/source/Commands CommandCompletions.cpp

[lldb] Adjust SourceFileCompleter to use StringRef (#206603)

Instead of storing `const char *` (which are currently backed by
ConstStrings), it should instead store the FileSpec and extract the
Filename and Directory as needed.
DeltaFile
+16-16lldb/source/Commands/CommandCompletions.cpp
+16-161 files

LLVM/project 3516fe0lldb/include/lldb/Target Target.h, lldb/source/Target Target.cpp

[lldb][NFC] Change how Target stores BreakpointNames (#205419)

This changes 2 things:
1) BreakpointNameList is now called BreakpointNameMap to reflect the
   actual underlying data structure.
2) BreakpointNameMap goes from a `std::map` to a `llvm::StringMap` to
   eliminate the use of ConstString.
DeltaFile
+4-4lldb/source/Target/Target.cpp
+2-3lldb/include/lldb/Target/Target.h
+6-72 files

LLVM/project b7dd1f0llvm/lib/Target/MSP430 MSP430.h

rebase

Created using spr 1.3.7
DeltaFile
+0-1llvm/lib/Target/MSP430/MSP430.h
+0-11 files

LLVM/project 33700bfllvm/lib/Target/MSP430 MSP430.h

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+0-1llvm/lib/Target/MSP430/MSP430.h
+0-11 files

LLVM/project c147ab8llvm/lib/Target/MSP430 MSP430.h

rebase

Created using spr 1.3.7
DeltaFile
+0-1llvm/lib/Target/MSP430/MSP430.h
+0-11 files

LLVM/project 40bb3b9llvm/lib/Target/MSP430 MSP430CodeGenPassBuilder.cpp MSP430PassRegistry.def

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+69-0llvm/lib/Target/MSP430/MSP430CodeGenPassBuilder.cpp
+26-0llvm/lib/Target/MSP430/MSP430PassRegistry.def
+8-0llvm/lib/Target/MSP430/MSP430TargetMachine.h
+7-0llvm/lib/Target/MSP430/MSP430.h
+6-0llvm/lib/Target/MSP430/CMakeLists.txt
+5-0llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
+121-06 files

LLVM/project fa2c466llvm/lib/Target/MSP430 MSP430.h MSP430ISelDAGToDAG.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+7-0llvm/lib/Target/MSP430/MSP430.h
+5-0llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
+12-02 files

LLVM/project c2c27afllvm/lib/Target/MSP430 MSP430.h MSP430ISelDAGToDAG.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+7-0llvm/lib/Target/MSP430/MSP430.h
+5-0llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
+12-02 files

LLVM/project f386116llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 reduction-copyable-reused-scalars.ll

[SLP] Apply reused-scalar reduction counters at the vectorized lane

The horizontal reduction reuse-counter scale was placed by deduplicated
candidate order, but the emitted reduction vector lane order is defined by
the root node, which may be reordered or split (SplitVectorize). As a
result a repeat count could be applied to the wrong lane, producing a wrong
reduction result. Place each counter at the lane the matching candidate is
vectorized to.

Fixes #206476

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/206611
DeltaFile
+11-24llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1-1llvm/test/Transforms/SLPVectorizer/X86/reduction-copyable-reused-scalars.ll
+12-252 files

LLVM/project 8af496eutils/bazel/llvm-project-overlay/mlir BUILD.bazel, utils/bazel/llvm-project-overlay/mlir/test BUILD.bazel

[mlir] Bazel fix for #206520 (#206609)

I broke the bazel build in #206520 and pushed an incorrect fix in
#206599 which this PR also reverts.
DeltaFile
+4-1utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+0-4utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+4-52 files

LLVM/project 148b8caclang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenBuiltin.cpp

[CIR] Support __builtin_nondeterministic_value (#206149)

Add a new CIR Op, FreezeOp, and use it to handle __builtin_nondeterministic_value
DeltaFile
+68-0clang/test/CIR/CodeGenBuiltins/builtin-nondeterministic-value.c
+29-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+7-2clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+104-23 files

LLVM/project f3b3d7dllvm/test/Analysis/CostModel/AMDGPU canonicalize.ll fsub.ll

[AMDGPU] Autogen checks for tests in AMDGPU Cost Model. NFC (#206595)

Even though there are comments in the test files saying checks
are autogenerated, it seems some checks are not actually updated. 
This work autogenerates checks based on the latest llvm source.
DeltaFile
+65-43llvm/test/Analysis/CostModel/AMDGPU/canonicalize.ll
+68-1llvm/test/Analysis/CostModel/AMDGPU/fsub.ll
+20-42llvm/test/Analysis/CostModel/AMDGPU/fround.ll
+4-4llvm/test/Analysis/CostModel/AMDGPU/control-flow.ll
+157-904 files

LLVM/project 04af344lld/COFF ICF.cpp

clang-format
DeltaFile
+3-6lld/COFF/ICF.cpp
+3-61 files

LLVM/project cc69878utils/bazel/llvm-project-overlay/mlir/test BUILD.bazel

[mlir][bazel] fix TestAnalysis deps (#206599)

Separating build fixes from #206520
DeltaFile
+4-0utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+4-01 files

LLVM/project 3349d8emlir/include/mlir/Dialect/LLVMIR/Transforms OptimizeForNVVM.h, mlir/include/mlir/Dialect/NVVM/Transforms Passes.h OptimizeForNVVM.h

[NFC][mlir][nvvm] move OptimizeForNVVM to its own directory (#206520)

This change moves the NVVM optimizations in the LLVM Dialect directory
to a dedicated `mlir/lib/Dialect/NVVM/Transforms/` directory.

Cf.
https://discourse.llvm.org/t/rfc-separate-gpu-specific-transforms-from-llvmirtransforms/91151
DeltaFile
+101-0mlir/lib/Dialect/NVVM/Transforms/OptimizeForNVVM.cpp
+0-101mlir/lib/Dialect/LLVMIR/Transforms/OptimizeForNVVM.cpp
+29-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+26-0mlir/include/mlir/Dialect/NVVM/Transforms/Passes.h
+0-22mlir/include/mlir/Dialect/LLVMIR/Transforms/OptimizeForNVVM.h
+22-0mlir/include/mlir/Dialect/NVVM/Transforms/OptimizeForNVVM.h
+178-12312 files not shown
+227-13018 files

LLVM/project bcad6a0clang/tools/libclang CLog.h, llvm/include/llvm/Support raw_ostream.h

[llvm][clang] Remove `format_object_base` forward declarations (#206526)

PR https://github.com/llvm/llvm-project/pull/206319 removed the
`format_object_base` class itself, but not some of its
forward-declarations. NFCI
DeltaFile
+0-4clang/tools/libclang/CLog.h
+0-1llvm/include/llvm/Support/raw_ostream.h
+0-52 files

LLVM/project bce4b9cclang/docs UsersManual.rst, clang/include/clang/Basic AttrDocs.td

[clang][docs]Refactor compiler standard references from c94 to C95 (#206403)

The patch changes references to a non existent c94 standard from
to C95 (C90 + AMD1)

Closes #206389
DeltaFile
+2-2clang/docs/UsersManual.rst
+1-1clang/include/clang/Basic/AttrDocs.td
+3-32 files

LLVM/project fa7c714llvm/lib/Transforms/Utils LoopUtils.cpp, llvm/test/Transforms/LoopVectorize runtime-checks-diff-wrap-i32-address-space.ll

Address potential `IC * AbsCommonStrideInBytes` truncation
DeltaFile
+47-0llvm/test/Transforms/LoopVectorize/runtime-checks-diff-wrap-i32-address-space.ll
+10-2llvm/lib/Transforms/Utils/LoopUtils.cpp
+57-22 files

LLVM/project 4bc5abellvm/test/Analysis/LoopAccessAnalysis runtime-checks-large_step.ll

Add a test for 2^64 IV step
DeltaFile
+47-0llvm/test/Analysis/LoopAccessAnalysis/runtime-checks-large_step.ll
+47-01 files

LLVM/project f6a0623clang/include/clang/ScalableStaticAnalysis BuiltinAnchorSources.def, clang/include/clang/ScalableStaticAnalysis/Analyses/OperatorNewDelete OperatorNewDeletePointers.h

[SSAF][Extractor][Do not merge] Extract operator new/delete overload entities that shall retain their types

This commit creates an extractor for operator new/delete overloads.

Overloads of operator new shall retain their void* return type,
regardless of whether they are propagated by unsafe buffers. The same
applies to the parameters of operator delete overloads.

Therefore, clang-reforge eventually need this information.

rdar://179151541
DeltaFile
+260-0clang/unittests/ScalableStaticAnalysis/Analyses/OperatorNewDelete/OperatorNewDeletePointersExtractorTest.cpp
+119-0clang/lib/ScalableStaticAnalysis/Analyses/OperatorNewDelete/OperatorNewDeletePointersExtractor.cpp
+56-0clang/include/clang/ScalableStaticAnalysis/Analyses/OperatorNewDelete/OperatorNewDeletePointers.h
+9-5clang/lib/ScalableStaticAnalysis/Analyses/SSAFAnalysesCommon.h
+1-0clang/include/clang/ScalableStaticAnalysis/BuiltinAnchorSources.def
+1-0clang/lib/ScalableStaticAnalysis/Analyses/CMakeLists.txt
+446-51 files not shown
+447-57 files

LLVM/project cc8549dllvm/lib/Transforms/Vectorize VPlan.h

[VPlan] Remove unused InductionDescriptor VPDerivedIVRecipe constructor (#206583)

Both callers use the 5-argument (Kind, FPBinOp, ...) constructor; the
delegating InductionDescriptor overload has no users.
DeltaFile
+0-7llvm/lib/Transforms/Vectorize/VPlan.h
+0-71 files

LLVM/project d5e975dflang/lib/Semantics openmp-utils.cpp

[flang][OpenMP] Add explicit return type to visitor lambdas (#206588)

This should silence MSVC (14.51.36231) error:
error C2338: static assertion failed: 'visit() requires the result of
all potential invocations to have the same type and value category
(N4950 [variant.visit]/5).'

e.g. https://lab.llvm.org/buildbot/#/builders/166/builds/9664
DeltaFile
+4-2flang/lib/Semantics/openmp-utils.cpp
+4-21 files

LLVM/project 8cf09c5lldb/include/lldb/Core BugReporter.h, lldb/source/Commands CommandObjectDiagnostics.cpp

[lldb] Add a BugReporter plugin type and "diagnostics report" (#206578)

Introduce a BugReporter plugin kind that files an assembled
Diagnostics::Report through a pluggable destination, plus a "diagnostics
report" command (aliased "bugreport") that collects the bundle and files
it through the first registered reporter.

CreateBugReporterInstance() returns the first registered reporter, so a
reporter registered earlier wins and a downstream tree can take over by
registering ahead of the built-ins. BugReporterNone is the
always-registered, last-in-order fallback. Its File() returns an error
pointing at LLDB_BUG_REPORT_URL, so the command surfaces "no tracker
configured" through the normal error path instead of special-casing it.

"diagnostics report" writes the bundle, prints a review warning, and
files it unless --no-open is given. The upcoming GitHub reporter, gated
by a CMake option, is the first real destination.
DeltaFile
+120-0lldb/source/Commands/CommandObjectDiagnostics.cpp
+52-0lldb/source/Core/PluginManager.cpp
+34-0lldb/source/Plugins/BugReporter/None/BugReporterNone.cpp
+32-0lldb/source/Plugins/BugReporter/None/BugReporterNone.h
+29-0lldb/include/lldb/Core/BugReporter.h
+26-0lldb/test/Shell/Diagnostics/TestReport.test
+293-08 files not shown
+340-014 files

LLVM/project 8fbed56llvm/lib/Transforms/Vectorize VPlanTransforms.cpp VPlanTransforms.h

[VPlan] Pass CostCtx to makeMemOpWideningDecisions (NFC). (#206580)

makeMemOpWideningDecisions already uses 2 members (PSE, L) and will need
more in the future. Direcly pass CostCtx.
DeltaFile
+7-6llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-2llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+1-1llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+9-93 files