LLVM/project d53425ellvm/test/DebugInfo/COFF jump-table.ll, llvm/test/DebugInfo/MIR/X86 dvl-livedebugvalues-join.mir dvl-livedebugvars-stackptr.mir

[DebugInfo,test] Convert text files from CRLF to LF
DeltaFile
+262-262llvm/test/DebugInfo/COFF/jump-table.ll
+160-160llvm/test/DebugInfo/MIR/X86/dvl-livedebugvalues-join.mir
+113-113llvm/test/DebugInfo/MIR/X86/dvl-livedebugvars-stackptr.mir
+109-109llvm/test/DebugInfo/MIR/X86/dvl-livedebugvars-movements.mir
+107-107llvm/test/DebugInfo/X86/dbg_value_list_emission.mir
+106-106llvm/test/DebugInfo/MIR/X86/dvl-livedebugvalues-clobber.mir
+857-85768 files not shown
+2,072-2,07274 files

LLVM/project 54d6f66llvm/test/CodeGen/AArch64 pr90936.ll

[AArch64] Add test for #90936. NFC
DeltaFile
+18-0llvm/test/CodeGen/AArch64/pr90936.ll
+18-01 files

LLVM/project f9d91fblldb/source/Core Debugger.cpp

[lldb] Always emit diagnostic events to the system log (#90913)

Always emit diagnostic events to the system log so that they end up in
the sysdiagnose on Darwin.
DeltaFile
+3-0lldb/source/Core/Debugger.cpp
+3-01 files

LLVM/project 49c5f4dllvm/lib/Target/SystemZ SystemZInstrInfo.cpp SystemZInstrInfo.h, llvm/test/CodeGen/SystemZ fold-copy-vector-immediate.mir

SystemZ: Fold copy of vector immediate to gr128 (#90706)

If materializing a constant in a vector register that is just
going to be copied to general registers, directly materialize
the immediate in the gpr. This will avoid a few lit test regressions
in a future commit.
DeltaFile
+182-0llvm/test/CodeGen/SystemZ/fold-copy-vector-immediate.mir
+58-0llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
+3-0llvm/lib/Target/SystemZ/SystemZInstrInfo.h
+243-03 files

LLVM/project ac46eeaclang-tools-extra/clangd/test hover.test spaces-in-delimited-input.test, clang-tools-extra/test/clang-tidy/checkers/readability else-after-return-if-constexpr.cpp

[clang-tools-extra,test] Convert text files from CRLF to LF

Skip files with intentional CRLF line endings:
test/clang-apply-replacements/crlf.cpp
test/clang-apply-replacements/Inputs/crlf/crlf.cpp.expected
clangd/test/input-mirror.test
clangd/test/protocol.test
clangd/test/too-large.test
DeltaFile
+57-57clang-tools-extra/clangd/test/hover.test
+22-22clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-constexpr.cpp
+18-18clang-tools-extra/test/pp-trace/Inputs/module.modulemap
+15-15clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/duplicate-include/duplicate-include.h
+13-13clang-tools-extra/clangd/test/spaces-in-delimited-input.test
+11-11clang-tools-extra/clangd/test/delimited-input-comment-at-the-end.test
+136-1364 files not shown
+158-15810 files

LLVM/project c7ad12dllvm/lib/Target/AMDGPU SIModeRegisterDefaults.cpp SIModeRegisterDefaults.h

AMDGPU: Try to fix build error with old gcc
DeltaFile
+52-46llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.cpp
+1-6llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.h
+53-522 files

LLVM/project 0faf494clang/test/Driver riscv-arch.c, llvm/lib/TargetParser RISCVISAInfo.cpp

[RISCV] Make parseArchString only accept [a-z0-9_]. (#90879)

Similar change was recently made to parseNormalizedArchString.
DeltaFile
+4-3llvm/lib/TargetParser/RISCVISAInfo.cpp
+2-2llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+1-1clang/test/Driver/riscv-arch.c
+7-63 files

LLVM/project 7a6847ellvm/lib/Support RISCVISAUtils.cpp, llvm/lib/TargetParser RISCVISAInfo.cpp

[RISCV] Add partial validation of Z extension name to RISCVISAInfo::parseNormalizedArchString (#90895)

If 'z' is given as the complete extension name or with a digit after it,
it will crash in the extension map compare function. Check for these
cases and give an error.
DeltaFile
+9-1llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+5-0llvm/lib/TargetParser/RISCVISAInfo.cpp
+2-1llvm/lib/Support/RISCVISAUtils.cpp
+16-23 files

LLVM/project 55ad294lld/test/COFF pdb_char8_t.ll pdb-type-server-invalid-signature.yaml, lld/test/COFF/Inputs combined-resources.rc

[lld,test] Convert text files from CRLF to LF
DeltaFile
+50-50lld/test/COFF/Inputs/combined-resources.rc
+46-46lld/test/COFF/pdb_char8_t.ll
+18-18lld/test/ELF/dynamic-list-cpp.s
+2-2lld/test/COFF/pdb-type-server-invalid-signature.yaml
+116-1164 files

LLVM/project 528f5balldb/source/Core Debugger.cpp, lldb/source/Expression LLVMUserExpression.cpp FunctionCaller.cpp

[lldb] Create a single Severity enum in lldb-enumerations (#90917)

We have 3 different enums all expressing severity (info, warning,
error). Remove all uses with a new Severity enum in lldb-enumerations.h.
DeltaFile
+22-36lldb/unittests/Expression/DiagnosticManagerTest.cpp
+19-20lldb/source/Expression/LLVMUserExpression.cpp
+17-20lldb/source/Core/Debugger.cpp
+15-19lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
+13-14lldb/source/Target/Process.cpp
+11-14lldb/source/Expression/FunctionCaller.cpp
+97-12314 files not shown
+164-20320 files

LLVM/project 8d946c7clang-tools-extra/clangd/refactor/tweaks ScopifyEnum.cpp

[clangd] use existing functions for code locations in the scopify enum tweak (#88737)

Clangd already implements some utility functions for converting between
`SourceLocation`s, `Position`s and `Offset`s into a buffer.
DeltaFile
+11-27clang-tools-extra/clangd/refactor/tweaks/ScopifyEnum.cpp
+11-271 files

LLVM/project 2755c69mlir/lib/Dialect/Linalg/Transforms Vectorization.cpp, mlir/test/Dialect/Linalg vectorization.mlir

[mlir][linalg] Vectorize unpack op without masking (#89067)

Enables vectorization of unpack op in the case of unknown vector size.
The vector sizes are determined by the result's shape.
DeltaFile
+75-32mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
+70-0mlir/test/Dialect/Linalg/vectorization.mlir
+145-322 files

LLVM/project 6c4deddlibcxx/modules/std cmath.inc atomic.inc, libcxx/modules/std.compat cmath.inc cwchar.inc

[libc++][modules] Uses _LIBCPP_USING_IF_EXISTS. (#90409)

This attribute is used in the headers. Not using this in the modules has
led to several issues. Add them to the modules to avoid these errors in
other placed.
DeltaFile
+187-187libcxx/modules/std/cmath.inc
+186-186libcxx/modules/std.compat/cmath.inc
+97-97libcxx/modules/std/atomic.inc
+63-63libcxx/modules/std.compat/cwchar.inc
+63-63libcxx/modules/std/cwchar.inc
+48-48libcxx/modules/std/cstdio.inc
+644-64427 files not shown
+1,019-1,01933 files

LLVM/project a06c1felibcxx/test/std/atomics/atomics.types.generic/atomics.types.float operator.plus_equals.pass.cpp fetch_add.pass.cpp

Revert "[NFC] Enable atomic tests on AIX"

This reverts commit 02660e274242b2dd61543a06d7ab4dc0efd2517d.

The tests do not pass on AIX, the buildkite precommit CI fails on these
tests. For example, https://buildkite.com/llvm-project/libcxx-ci/builds/35184
DeltaFile
+1-0libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp
+1-0libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp
+1-0libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp
+1-0libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp
+4-04 files

LLVM/project ebbc5dellvm/test/CodeGen/M68k/Arith sub-with-overflow.ll, llvm/test/CodeGen/M68k/Atomics load-store.ll rmw.ll

[M68k] Correctly emit non-pic relocations (#89863)

The m68k backend will always emit external calls (including libcalls)
with
PC-relative PLT relocations, even when in non-pic mode or -fno-plt is
used.

This is unexpected, as other function calls are emitted with absolute
addressing, and a static code modes suggests that there is no PLT. It
also
leads to a miscompilation where the call instruction emitted expects an
immediate address, while the relocation emitted for that instruction is
PC-relative.

This miscompilation can even be seen in the default C function in
godbolt:
https://godbolt.org/z/zEoazovzo

Fix the issue by classifying external function references based upon the

    [15 lines not shown]
DeltaFile
+16-16llvm/test/CodeGen/M68k/Atomics/load-store.ll
+14-14llvm/test/CodeGen/M68k/Atomics/rmw.ll
+9-9llvm/test/CodeGen/M68k/CodeModel/small-static.ll
+9-9llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
+5-5llvm/test/CodeGen/M68k/Atomics/cmpxchg.ll
+4-4llvm/test/CodeGen/M68k/Arith/sub-with-overflow.ll
+57-579 files not shown
+78-7815 files

LLVM/project 56b8bd7llvm/lib/Target/RISCV RISCVInstrInfoZvk.td RISCVScheduleZvk.td, llvm/test/tools/llvm-mca/RISCV/SiFiveP600 zvbb.s zvkned.s

[RISCV] Add Sched classes for vector crypto instructions (#90068)

The vector crypto instructions may have different scheduling behavior
compared to VALU operations. Instead of using scheduling resources that
describe VALU operations, we give these instructions their own
scheduling resources. This is similar to what we did for Zb* instructions.

The sifive-p670 has vector crypto, so we model behavior for these instructions
in the P600SchedModel. The numbers are based off of measurements collected
internally. These numbers are a bit old and new measurements show that they may
not be fully accurate. It is likely that we will refine these numbers in a
follow up patch(s) based on new measurements.

This PR is stacked on #89256.
DeltaFile
+218-69llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
+112-112llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvbb.s
+208-0llvm/lib/Target/RISCV/RISCVScheduleZvk.td
+66-66llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvkned.s
+92-0llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
+39-39llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvknhb.s
+735-28610 files not shown
+833-37816 files

LLVM/project bab1098lldb/test/API/tools/lldb-dap/console TestDAP_console.py

[lldb-dap] Fix test_exit_status_message_sigterm test. (#90223)

Summary:
'test_exit_status_message_sigterm' is failing due to 'psutil' dependency
introduced in PR #89405. This fix removes 'deque' dependency and checks
if 'psutil' can be imported before running the test. If 'psutil' cannot
be imported, it emits a warning and skips the test.

Test Plan:
./bin/llvm-lit -sv
/path-to-llvm-project/lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
--filter=tools/lldb-dap/console/TestDAP_console.py

Reviewers:
@jeffreytan81,@clayborg,@kusmour, @JDevlieghere,@walter-erquinigo

Subscribers:

Tasks:

    [2 lines not shown]
DeltaFile
+14-6lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
+14-61 files

LLVM/project 775f545libcxx/include chrono, libcxx/include/__chrono time_zone.h

[libc++][TZDB] Implements time_zone::to_sys.

This implements the overload with the choose argument and adds this enum.

Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones
DeltaFile
+147-0libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp
+41-0libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys_choose.pass.cpp
+37-0libcxx/test/libcxx/time/time.zone/time.zone.timezone/choose.pass.cpp
+32-0libcxx/include/__chrono/time_zone.h
+4-0libcxx/include/chrono
+0-3libcxx/modules/std/chrono.inc
+261-31 files not shown
+264-37 files

LLVM/project 4821882llvm/test/tools/llvm-mca/RISCV/SiFiveP600 zvbb.s zvkned.s

[RISCV][llvm-mca] Add vector crypto llvm-mca tests for P600
DeltaFile
+461-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvbb.s
+204-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvkned.s
+153-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvknhb.s
+128-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvkg.s
+114-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvksed.s
+113-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvbc.s
+1,173-02 files not shown
+1,307-238 files

LLVM/project d13f635llvm/lib/Target/RISCV RISCVInstrInfoZvk.td

[RISCV] Use Sched*MC for Zvk MC instructions
DeltaFile
+13-11llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
+13-111 files

LLVM/project 692e887llvm/include/llvm/Target/GlobalISel Combine.td, llvm/lib/Target/AMDGPU AMDGPUCombine.td

[GlobalISel] Use some standard matchinfo defs. NFC.
DeltaFile
+4-8llvm/include/llvm/Target/GlobalISel/Combine.td
+1-3llvm/lib/Target/AMDGPU/AMDGPUCombine.td
+5-112 files

LLVM/project 01e91a2clang/include/clang/Sema SemaOpenACC.h, clang/test/ParserOpenACC parse-clauses.c

[OpenACC] Implement copyin, copyout, create clauses for compute construct

Like 'copy', these also have alternate names, so this implements that as
well.  Additionally, these have an optional tag of either 'readonly' or
'zero' depending on the clause.

Otherwise, this is a pretty rote implementation of the clause, as there
aren't any special rules for it.
DeltaFile
+162-0clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
+112-0clang/test/SemaOpenACC/compute-construct-create-clause.cpp
+112-0clang/test/SemaOpenACC/compute-construct-copyin-clause.cpp
+112-0clang/test/SemaOpenACC/compute-construct-copyout-clause.cpp
+48-51clang/test/ParserOpenACC/parse-clauses.c
+77-4clang/include/clang/Sema/SemaOpenACC.h
+623-5516 files not shown
+1,268-7422 files

LLVM/project 40cc96ellvm/lib/Transforms/Vectorize VPlan.h

[VPlan] Remove unused VPWidenCanonicalIVRecipe::getScalarType (NFCI).

After a48ebb8276408fa88cf7060ddc68f4eda1b62def, the function is no
longer used. Remove it.
DeltaFile
+0-6llvm/lib/Transforms/Vectorize/VPlan.h
+0-61 files

LLVM/project 1cde124llvm/lib/Target/AMDGPU AMDGPUPostLegalizerCombiner.cpp AMDGPUCombine.td

[AMDGPU] Use replaceOpcodeWith instead of applyCombine_s_mul_u64. NFC.
DeltaFile
+1-7llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPUCombine.td
+2-82 files

LLVM/project 5fc5769mlir/lib/Target/LLVMIR DebugTranslation.cpp, mlir/test/Target/LLVMIR llvmir-debug.mlir

[MLIR][LLVM] Exporter skip over inlined frame without debug scope (#90915)

Followup to #90759.

Instead of just returning null when the caller scope is not
translatable, "jump over" the current caller scope and use the outer
scope as the caller if that is available. This means that in an inlined
call stack if there are frames without debug scope, those frames are
skipped to preserve what is available. In the original example where
```
func A {
  foo loc(fused<#A>["a":1:1])
}
func B {
  call @A loc("b":1:1)
}
func C {
  call @B loc(fused<#C>["c":1:1])
}

    [20 lines not shown]
DeltaFile
+9-4mlir/lib/Target/LLVMIR/DebugTranslation.cpp
+4-4mlir/test/Target/LLVMIR/llvmir-debug.mlir
+13-82 files

LLVM/project 69f1442llvm/include/llvm/CodeGen BasicTTIImpl.h, llvm/test/Transforms/SimplifyCFG/X86 switch_to_lookup_table.ll

[LLVM] BasicTTIImpl allow unknown type during legality checking (#89848)

Make BasicTTIImplBase's `isTypeLegal` check handle unknown types.
Current behavior is aborting.

Motivated by a use case in SimplifyCFG, where `isTypeLegal` is called on
a struct type and dies, when it could be treated as illegal and skipped.
In general it could make sense for unknown types to be allowed, and by
default just considered not legal, but the behavior can of course be
overriden.
DeltaFile
+34-0llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
+1-1llvm/include/llvm/CodeGen/BasicTTIImpl.h
+35-12 files

LLVM/project 054f7c0clang/include/clang/AST OpenACCClause.h, clang/lib/Sema SemaOpenACC.cpp

[OpenACC] Implement copy clause for compute constructs.

Like present, no_create, and first_private, copy is a clause that takes
just a var-list, and follows the same rules as the others.

The one unique part of this clause is that it ALSO supports two
deprecated/backwards-compatibility spellings, so this patch adds them
and implements them.
DeltaFile
+112-0clang/test/SemaOpenACC/compute-construct-copy-clause.cpp
+62-0clang/test/SemaOpenACC/compute-construct-copy-clause.c
+55-1clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
+37-0clang/lib/Sema/SemaOpenACC.cpp
+16-20clang/test/ParserOpenACC/parse-clauses.c
+28-0clang/include/clang/AST/OpenACCClause.h
+310-2112 files not shown
+409-2418 files

LLVM/project 99ca408llvm/lib/Target/AMDGPU AMDGPUPostLegalizerCombiner.cpp AMDGPUPreLegalizerCombiner.cpp

[AMDGPU] Remove unneeded calls to setInstrAndDebugLoc in matchers. NFC.
DeltaFile
+0-4llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
+0-2llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
+0-2llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
+0-2llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
+0-104 files

LLVM/project 3f1fef3llvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Transforms/LoopVectorize/RISCV interleaved-accesses.ll strided-accesses.ll

[RISCV] Support interleaved accesses for scalable vector. (#90583)

The support for interleaved accesses for scalable vector with a factor
of 2 is enabled in vectorizer. Therefore, the patch removed the
restriction for scalable vector with a factor of 2.
DeltaFile
+1,099-176llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll
+151-135llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+18-11llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+1,268-3223 files

LLVM/project bd909d2clang/lib/Sema SemaOpenACC.cpp, clang/test/SemaOpenACC compute-construct-no_create-clause.cpp compute-construct-present-clause.cpp

[OpenACC] Implement no_create and present clauses on compute constructs

These two are, from a semantic checking perspective, identical to
first-private/private/etc, other than appertainment. This patch
implements both.
DeltaFile
+112-0clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp
+112-0clang/test/SemaOpenACC/compute-construct-present-clause.cpp
+57-0clang/lib/Sema/SemaOpenACC.cpp
+54-0clang/test/SemaOpenACC/compute-construct-no_create-clause.c
+54-0clang/test/SemaOpenACC/compute-construct-present-clause.c
+53-0clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
+442-013 files not shown
+605-1219 files