LLVM/project 3996867llvm/test/CodeGen/X86 haddsub-2.ll

[X86] haddsub-2.ll - remove duplicate scalar tests (#207183)

These vectorisation tests exist in PhaseOrdering/X86/hadd.ll and
PhaseOrdering/X86/hsub.ll and the result shuffle tests exist in
CodeGen/X86/haddsub.ll and CodeGen/X86/phaddsub.ll

Help towards #143000
DeltaFile
+4-1,263llvm/test/CodeGen/X86/haddsub-2.ll
+4-1,2631 files

LLVM/project 08016b2llvm/test/CodeGen/X86 phaddsub.ll

[X86] phaddsub.ll - add SSE2/SSE3 test coverage (#207179)

Ensure integer HADD/SUB instructions don't get generated without SSSE3 and that the codegen isn't entirely terrible
DeltaFile
+253-0llvm/test/CodeGen/X86/phaddsub.ll
+253-01 files

LLVM/project 73cfa6bllvm/lib/Transforms/Utils SCCPSolver.cpp, llvm/test/Transforms/SCCP vector-refinement.ll bitcast-vector-refinement.l.ll

[SCCP] Avoid markConstant() in more places (#206494)

This extends the fix from 991455e69e93c0ce88e927eddd28a9ab34d1f8b2 to
two more places. In both of these, we can run into the same situation
where we first mark as constant with a vector that has poison values,
and then again without poison elements, resulting in an assertion
failure.

(An alternative would be to change markConstant() to allow calls with
different constant if the new constant is a vector that only refines
some previously poison elements?)
DeltaFile
+83-0llvm/test/Transforms/SCCP/vector-refinement.ll
+0-28llvm/test/Transforms/SCCP/bitcast-vector-refinement.l.ll
+5-3llvm/lib/Transforms/Utils/SCCPSolver.cpp
+88-313 files

LLVM/project a62d8e0clang/lib/AST/ByteCode Context.cpp, clang/test/AST/ByteCode cxx23.cpp

[clang][bytecode] Reject functions with invalid parameters (#207157)

They will just cause problems later when calling them.
DeltaFile
+11-2clang/test/AST/ByteCode/cxx23.cpp
+2-1clang/lib/AST/ByteCode/Context.cpp
+13-32 files

LLVM/project 684fcd6llvm/lib/Transforms/Vectorize VPlan.cpp LoopVectorize.cpp

Patch 4: [LV][NFC]: Filter between vplans by tail-folding status
DeltaFile
+33-4llvm/lib/Transforms/Vectorize/VPlan.cpp
+16-8llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-5llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+2-0llvm/lib/Transforms/Vectorize/VPlan.h
+53-174 files

LLVM/project 9402849llvm/lib/Transforms/Vectorize LoopVectorize.cpp LoopVectorizationPlanner.h, llvm/test/Transforms/LoopVectorize fold-epilogue-tail.ll

Patch 3: [LV] Add extra CM instace for EpilogueTF
DeltaFile
+87-29llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+47-0llvm/test/Transforms/LoopVectorize/AArch64/fold-epilogue-tail-costs.ll
+23-5llvm/test/Transforms/LoopVectorize/fold-epilogue-tail.ll
+5-5llvm/test/Transforms/LoopVectorize/AArch64/fully-unrolled-cost.ll
+5-3llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+167-425 files

LLVM/project 9aa45afclang/docs LanguageExtensions.rst, clang/include/clang/Options Options.td

Enable driver changes for fexec-charset
DeltaFile
+14-6clang/lib/Driver/ToolChains/Clang.cpp
+14-4clang/include/clang/Options/Options.td
+11-3clang/test/Driver/clang_f_opts.c
+10-0llvm/lib/Support/TextEncoding.cpp
+4-3clang/test/Driver/cl-options.c
+3-3clang/docs/LanguageExtensions.rst
+56-193 files not shown
+60-199 files

LLVM/project 2301a08clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

address comments
DeltaFile
+3-3clang/include/clang/Options/Options.td
+1-1clang/lib/Driver/ToolChains/Clang.cpp
+4-42 files

LLVM/project 8dd304aclang/lib/AST PrintfFormatString.cpp FormatString.cpp, clang/lib/Sema SemaChecking.cpp

Add format string handling
DeltaFile
+58-31clang/lib/AST/PrintfFormatString.cpp
+46-40clang/lib/AST/FormatString.cpp
+33-21clang/lib/Sema/SemaChecking.cpp
+25-11clang/lib/AST/FormatStringParsing.h
+15-8clang/lib/AST/ScanfFormatString.cpp
+19-0llvm/lib/Support/TextEncoding.cpp
+196-1117 files not shown
+233-12013 files

LLVM/project 84eec8aclang/lib/Lex TextEncoding.cpp, clang/lib/Sema SemaChecking.cpp

do not convert character by character
DeltaFile
+6-4clang/lib/Sema/SemaChecking.cpp
+1-1clang/lib/Lex/TextEncoding.cpp
+7-52 files

LLVM/project c1bf213clang/include/clang/Lex TextEncoding.h, clang/lib/Lex TextEncoding.cpp

fix CI
DeltaFile
+2-2clang/lib/Lex/TextEncoding.cpp
+1-0clang/include/clang/Lex/TextEncoding.h
+3-22 files

LLVM/project 164e5c5clang/lib/AST ASTContext.cpp, clang/lib/Lex TextEncoding.cpp

Convert the key before cache lookup to prevent encoding differences
DeltaFile
+9-9clang/lib/AST/ASTContext.cpp
+2-2clang/lib/Lex/TextEncoding.cpp
+11-112 files

LLVM/project 170f328clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+10-0clang/lib/AST/ASTContext.cpp
+4-0clang/test/CodeGen/systemz-charset.cpp
+2-1clang/lib/Lex/TextEncoding.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+21-15 files

LLVM/project 3d90597clang/lib/Parse ParseDecl.cpp ParseExpr.cpp, clang/lib/Sema SemaExpr.cpp

add ParserConversionAction, do not translate unevaluated strings
DeltaFile
+6-6clang/lib/Sema/SemaExpr.cpp
+10-0clang/lib/Parse/ParseDecl.cpp
+8-0clang/test/CodeGen/systemz-charset-diag.cpp
+3-3clang/lib/Parse/ParseExpr.cpp
+5-0clang/test/CodeGen/systemz-charset.c
+4-0clang/lib/Parse/Parser.cpp
+36-93 files not shown
+42-109 files

LLVM/project 8bc009fclang/include/clang/Sema Sema.h

Fix build failure
DeltaFile
+1-0clang/include/clang/Sema/Sema.h
+1-01 files

LLVM/project 6bdcf18clang/test/CodeGen systemz-charset.c

fix CI
DeltaFile
+2-0clang/test/CodeGen/systemz-charset.c
+2-01 files

LLVM/project 18b6ebbclang/include/clang/Sema Sema.h

Remove old include
DeltaFile
+0-1clang/include/clang/Sema/Sema.h
+0-11 files

LLVM/project 47616e8clang/include/clang/Sema Sema.h, clang/lib/Parse Parser.cpp ParseDecl.cpp

fix CI
DeltaFile
+0-7clang/test/CodeGen/systemz-charset.c
+2-2clang/include/clang/Sema/Sema.h
+1-1clang/lib/Parse/Parser.cpp
+0-1clang/lib/Parse/ParseDecl.cpp
+3-114 files

LLVM/project a470093clang/lib/Lex LiteralSupport.cpp, clang/test/Lexer string-literal-encoding.c

revert change to check for legal utf8, add fexec-charset testcase to clang/test/Lexer/string-literal-encoding.c
DeltaFile
+16-19clang/lib/Lex/LiteralSupport.cpp
+1-0clang/test/Lexer/string-literal-encoding.c
+17-192 files

LLVM/project 329674fllvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Transforms/InstCombine/AArch64 sve-pairwise-add-long.ll

[AArch64][InstCombine] Combine add with [su]adalp intrinsics (#204796)

It can happen that the [su]adalp uses a zero accumulator and its result
is used as an operand into an ADD instruction. We can fold those.

add(adalp(%pred, zeroinitializer, %in), %acc)
-->
adalp(%pred, %acc, %in)
DeltaFile
+96-0llvm/test/Transforms/InstCombine/AArch64/sve-pairwise-add-long.ll
+28-0llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+124-02 files

LLVM/project c8a668fcross-project-tests/debuginfo-tests/dexter Script.md, cross-project-tests/debuginfo-tests/dexter-tests global-constant.cpp

review comments
DeltaFile
+2-1cross-project-tests/debuginfo-tests/dexter-tests/global-constant.cpp
+2-0cross-project-tests/debuginfo-tests/dexter/Script.md
+4-12 files

LLVM/project a6dcef9cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng dbgeng.py, cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb LLDB.py

[Dexter] Switch to using script-mode by default

This patch changes the default mode of Dexter from heuristic-mode to
script-mode. The --use-script argument is replaced with --use-heuristic,
some comments/docs/error messages are updated accordingly, and tests have
their flags switched accordingly.
DeltaFile
+2-6cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
+3-4cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/view.cpp
+3-3cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
+2-2cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
+2-2cross-project-tests/debuginfo-tests/dexter/dex/tools/TestToolBase.py
+2-2cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
+14-19168 files not shown
+188-208174 files

LLVM/project c639051cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb LLDB.py

Remove all tags that LLDB may add
DeltaFile
+5-2cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
+5-21 files

LLVM/project 2423ebecross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb LLDB.py, cross-project-tests/debuginfo-tests/dexter/dex/evaluation Metrics.py

format
DeltaFile
+6-2cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+1-1cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
+7-32 files

LLVM/project 461a341cross-project-tests/debuginfo-tests/dexter/dex/evaluation Metrics.py

backport: add optimized out metric
DeltaFile
+7-1cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+7-11 files

LLVM/project 76a9ebfcross-project-tests/debuginfo-tests/dexter-tests optnone-loops.cpp vla.c, cross-project-tests/debuginfo-tests/dexter-tests/memvars unused-merged-value.c ptr-to.c

Address review comments, format
DeltaFile
+46-40cross-project-tests/debuginfo-tests/dexter-tests/optnone-loops.cpp
+11-9cross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c
+4-10cross-project-tests/debuginfo-tests/dexter-tests/memvars/ptr-to.c
+2-3cross-project-tests/debuginfo-tests/dexter-tests/vla.c
+3-2cross-project-tests/debuginfo-tests/dexter-tests/optnone-fastmath.cpp
+2-1cross-project-tests/debuginfo-tests/dexter-tests/asan-deque.cpp
+68-6512 files not shown
+90-7718 files

LLVM/project 81bc2adcross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb LLDB.py

Fix: Account for weird function name endings in lldb-dap
DeltaFile
+5-0cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
+5-01 files

LLVM/project d5a2cbdcross-project-tests/debuginfo-tests/dexter-tests optnone-loops.cpp optnone-fastmath.cpp, cross-project-tests/debuginfo-tests/dexter-tests/memvars ctrl-flow.c inlining.c

Apply clang-format within reason
DeltaFile
+9-15cross-project-tests/debuginfo-tests/dexter-tests/optnone-loops.cpp
+5-5cross-project-tests/debuginfo-tests/dexter-tests/optnone-fastmath.cpp
+3-3cross-project-tests/debuginfo-tests/dexter-tests/optnone-struct-and-methods.cpp
+2-2cross-project-tests/debuginfo-tests/dexter-tests/memvars/ctrl-flow.c
+2-2cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining.c
+2-2cross-project-tests/debuginfo-tests/dexter-tests/memvars/loop.c
+23-297 files not shown
+29-3813 files

LLVM/project 03b9227cross-project-tests/debuginfo-tests/dexter-tests optnone-vectors-and-functions.cpp optnone-simple-functions.cpp, cross-project-tests/debuginfo-tests/dexter-tests/memvars inlining-dse.c

[Dexter] Update lldb-based dexter-tests to use script-mode

This patch replaces uses of heuristic-mode Dexter in the dexter-tests suite
with uses of the script-mode, for tests that use DAP (via lldb-dap). The
updates are largely straightforward but occasionally non-trivial, and in
some cases some slight modifications have been made to keep the "spirit" of
the test intact.
DeltaFile
+93-73cross-project-tests/debuginfo-tests/dexter-tests/optnone-vectors-and-functions.cpp
+98-51cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
+68-54cross-project-tests/debuginfo-tests/dexter-tests/optnone-loops.cpp
+57-33cross-project-tests/debuginfo-tests/dexter-tests/optnone-fastmath.cpp
+30-19cross-project-tests/debuginfo-tests/dexter-tests/optnone-struct-and-methods.cpp
+19-22cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining-dse.c
+365-25221 files not shown
+669-39227 files

LLVM/project 9186304cross-project-tests/debuginfo-tests/dexter/dex/evaluation Metrics.py

Add irretrievable metric
DeltaFile
+5-0cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
+5-01 files