LLVM/project e02fdf0clang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp CIRGenExprScalar.cpp, clang/test/CIR/CodeGen/X86 sse2-builtins.c

[CIR] Upstream CIR codegen for vec_ext x86 builtins (#167942)

This PR upstreams the codegen for the x86 vec_ext builtins from the
incubator. It is part of #167752.
DeltaFile
+21-4clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+0-22clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+16-0clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+15-0clang/test/CIR/CodeGen/X86/sse2-builtins.c
+3-3clang/lib/CIR/CodeGen/CIRGenFunction.h
+4-2clang/lib/CIR/CodeGen/CIRGenBuilder.h
+59-316 files

LLVM/project 4c4ffd3llvm/lib/Transforms/Utils ProfileVerify.cpp

[ProfCheck] Refactor Select Instrumentation to use Early Exits (#168086)

I think this is quite a bit more readable than the nested conditionals.
From review feedback that was not addressed precommitn in #167973.
DeltaFile
+16-10llvm/lib/Transforms/Utils/ProfileVerify.cpp
+16-101 files

LLVM/project e8cc0d2llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 non-inst-abs-sub-copyable-value.ll

Revert "[SLP]Check if the copyable element is a sub instruciton with abs in isCommutable"

This reverts commit ddf5bb0a2e2d2dd77bce66173387d62ab7174d9f to fix
buildbots  https://lab.llvm.org/buildbot/#/builders/11/builds/28083.
DeltaFile
+0-29llvm/test/Transforms/SLPVectorizer/AArch64/non-inst-abs-sub-copyable-value.ll
+4-7llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+4-362 files

LLVM/project 459a64blldb/cmake/modules LLDBConfig.cmake

[lldb] Diagnose unsupported configurations when targeting the Limited C API (#168145)

Diagnose unsupported configurations when targeting the Python Limited C
API. I used SEND_ERROR so that if there's multiple issues, you don't
need to keep reconfiguring.
DeltaFile
+13-1lldb/cmake/modules/LLDBConfig.cmake
+13-11 files

LLVM/project 3e2bb7bclang-tools-extra/clang-doc HTMLMustacheGenerator.cpp Generators.cpp

MustacheGenerator inherits from Generator, use generateDocumentation as base
DeltaFile
+40-181clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp
+136-0clang-tools-extra/clang-doc/Generators.cpp
+84-4clang-tools-extra/clang-doc/Generators.h
+6-7clang-tools-extra/clang-doc/YAMLGenerator.cpp
+6-7clang-tools-extra/clang-doc/MDGenerator.cpp
+6-7clang-tools-extra/clang-doc/HTMLGenerator.cpp
+278-2062 files not shown
+286-2128 files

LLVM/project e7fe8a7llvm/include/llvm/Transforms/Instrumentation UbsanMinimalHandlers.inc

fix

Created using spr 1.3.7
DeltaFile
+50-0llvm/include/llvm/Transforms/Instrumentation/UbsanMinimalHandlers.inc
+50-01 files

LLVM/project f2bd5c6llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/MC/AArch64 arm-poe2.s

rebase

Created using spr 1.3.7
DeltaFile
+13,141-11,946llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+4,719-5,242llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp16.txt
+4,062-3,678llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+2,042-2,017llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll
+3,263-0llvm/test/MC/AArch64/arm-poe2.s
+1,555-1,504llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+28,782-24,3873,662 files not shown
+137,540-88,3853,668 files

LLVM/project ff5162fllvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/MC/AArch64 arm-poe2.s

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+13,141-11,946llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+4,719-5,242llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp16.txt
+4,062-3,678llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+2,042-2,017llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll
+3,263-0llvm/test/MC/AArch64/arm-poe2.s
+1,555-1,504llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+28,782-24,3873,662 files not shown
+137,540-88,3853,668 files

LLVM/project ddf5bb0llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 non-inst-abs-sub-copyable-value.ll

[SLP]Check if the copyable element is a sub instruciton with abs in isCommutable

Need to check if the non-copyable element is an instruction before actually
trying to check its NSW attribute.
DeltaFile
+29-0llvm/test/Transforms/SLPVectorizer/AArch64/non-inst-abs-sub-copyable-value.ll
+7-4llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+36-42 files

LLVM/project 72a6ae6llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp, llvm/test/CodeGen/AMDGPU vgpr-lowering-gfx1250.mir vgpr-lowering-gfx1250-t16.mir

[AMDGPU] Fix wrong MSB encoding for V_FMAMK instructions (#168107)

These instructions use `src0`, `imm`, `src1` as operand.

Fixes SWDEV-566579.
DeltaFile
+34-5llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250.mir
+32-0llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250-t16.mir
+23-4llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+89-93 files

LLVM/project 47f0408compiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp UbsanMinimalHandlers.inc

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+20-36compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+45-0compiler-rt/lib/ubsan_minimal/UbsanMinimalHandlers.inc
+65-362 files

LLVM/project 2792d1acompiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp UbsanMinimalHandlers.inc, llvm/include/llvm/Analysis TargetLibraryInfo.def

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+20-36compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+50-0compiler-rt/lib/ubsan_minimal/UbsanMinimalHandlers.inc
+18-0llvm/include/llvm/Analysis/TargetLibraryInfo.def
+16-0llvm/lib/Transforms/Utils/BuildLibCalls.cpp
+104-364 files

LLVM/project 07235f2compiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp UbsanMinimalHandlers.inc

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+12-36compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+45-0compiler-rt/lib/ubsan_minimal/UbsanMinimalHandlers.inc
+57-362 files

LLVM/project 5a737e0compiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp UbsanMinimalHandlers.inc

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+20-36compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+45-0compiler-rt/lib/ubsan_minimal/UbsanMinimalHandlers.inc
+65-362 files

LLVM/project f2ad485compiler-rt/lib/ubsan_minimal ubsan_minimal_handlers.cpp UbsanMinimalHandlers.inc

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+12-36compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
+45-0compiler-rt/lib/ubsan_minimal/UbsanMinimalHandlers.inc
+57-362 files

LLVM/project 6dad2c2lldb/test/API/python_api/command_script_output TestCommandScriptOutput.py

[lldb] Add a test for capturing stdout/stderr from Python commands (#168138)

DeltaFile
+47-0lldb/test/API/python_api/command_script_output/TestCommandScriptOutput.py
+47-01 files

LLVM/project 825ebefllvm/include/llvm/Support SpecialCaseList.h, llvm/lib/Support SpecialCaseList.cpp

[NFC][Support] Remove unused getLongestMatch from SpecialCaseList (#167193)

This method is not used anywhere. Remove it.
DeltaFile
+29-54llvm/lib/Support/SpecialCaseList.cpp
+2-8llvm/include/llvm/Support/SpecialCaseList.h
+31-622 files

LLVM/project 40b06bfllvm/lib/Transforms/InstCombine InstCombineCompares.cpp

Fix commit message and simplify change

Created using spr 1.3.6-beta.1
DeltaFile
+0-10llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+0-101 files

LLVM/project 2743543utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[mlir][bazel] Add apfloat test library (#168115)

The apfloat code was added in #167848, and some bazel was added
in #167916 but the runtime library for test-apfloat-emulation.mlir was
missed. This patch adds the appropriate target.
DeltaFile
+23-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+23-01 files

LLVM/project e645aa1llvm/test/CodeGen/AMDGPU vgpr-lowering-gfx1250.mir vgpr-lowering-gfx1250-t16.mir

more tests
DeltaFile
+13-0llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250.mir
+7-3llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250-t16.mir
+20-32 files

LLVM/project 15a98b1llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

use `AMDGPU::OpName::NUM_OPERAND_NAMES` replace `AMDGPU::OpName::imm`
DeltaFile
+2-2llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+2-21 files

LLVM/project 08bb907llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp, llvm/test/CodeGen/AMDGPU vgpr-lowering-gfx1250-t16.mir

add t16
DeltaFile
+29-0llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250-t16.mir
+3-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+32-02 files

LLVM/project caf99afllvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp, llvm/test/CodeGen/AMDGPU vgpr-lowering-gfx1250.mir

[AMDGPU] Fix wrong MSB encoding for V_FMAMK instructions

These instructions use `src0`, `imm`, `src1` as operand.

Fixes SWDEV-566579.
DeltaFile
+21-5llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250.mir
+18-4llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+39-92 files

LLVM/project 8d5f216llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp, llvm/test/CodeGen/AMDGPU vgpr-lowering-gfx1250-t16.mir

add t16 test
DeltaFile
+11-12llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250-t16.mir
+2-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+13-122 files

LLVM/project 944278fclang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP parallel_default_variableCategory_codegen.cpp

Revert "[Clang][OpenMP] Bug fix Default clause variable category" (#168130)

Reverts llvm/llvm-project#168112
DeltaFile
+0-91clang/test/OpenMP/parallel_default_variableCategory_codegen.cpp
+3-3clang/lib/Sema/SemaOpenMP.cpp
+3-942 files

LLVM/project 4881512llvm/test/DebugInfo dwarfdump-dwp-str-offsets-64.yaml

Don't check frame base as varies if registers are available from targets. (#168124)

Fixes a buildbot issue stemming from
https://github.com/llvm/llvm-project/pull/167986
DeltaFile
+1-2llvm/test/DebugInfo/dwarfdump-dwp-str-offsets-64.yaml
+1-21 files

LLVM/project 0a58e49llvm/lib/Target/VE VEISelLowering.h VESelectionDAGInfo.h

[VE] TableGen-erate SDNode descriptions (#168120)

This allows SDNodes to be validated against their expected type profiles
and reduces the number of changes required to add a new node.

There is a couple of nodes that are missing description and one node
that fails validation.

Part of #119709.

Pull Request: https://github.com/llvm/llvm-project/pull/168120
DeltaFile
+0-46llvm/lib/Target/VE/VEISelLowering.h
+45-0llvm/lib/Target/VE/VESelectionDAGInfo.h
+44-0llvm/lib/Target/VE/VESelectionDAGInfo.cpp
+1-41llvm/lib/Target/VE/VEISelLowering.cpp
+10-1llvm/lib/Target/VE/VESubtarget.cpp
+5-5llvm/lib/Target/VE/VESubtarget.h
+105-934 files not shown
+110-9310 files

LLVM/project 87625ddllvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/MC/AArch64 arm-poe2.s

rebase

Created using spr 1.3.7
DeltaFile
+13,141-11,946llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+4,719-5,242llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp16.txt
+4,062-3,678llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+2,042-2,017llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll
+3,263-0llvm/test/MC/AArch64/arm-poe2.s
+1,555-1,504llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+28,782-24,3873,649 files not shown
+137,330-88,2823,655 files

LLVM/project 1721e1fllvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/MC/AArch64 arm-poe2.s

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+13,141-11,946llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+4,719-5,242llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp16.txt
+4,062-3,678llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+2,042-2,017llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll
+3,263-0llvm/test/MC/AArch64/arm-poe2.s
+1,555-1,504llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+28,782-24,3873,649 files not shown
+137,330-88,2823,655 files

LLVM/project ab08fbdclang/docs WarningSuppressionMappings.rst ReleaseNotes.rst, clang/include/clang/Basic Diagnostic.h

[clang] Switch warning suppression multi-match rule to "last match takes precedence"

The current "longest match takes precedence" rule
for warning suppression mappings can be confusing,
especially in long suppression files where
tracking the length relationship between globs is
difficult.

For example, with the following rules, it's not
immediately obvious why the first one should
currently take precedence:

```
src:*test/*
src:*lld/*=emit
```

This commit changes the multi-match behavior so
the last match takes precedence. This rule is

    [12 lines not shown]
DeltaFile
+5-9clang/lib/Basic/Diagnostic.cpp
+3-5clang/unittests/Basic/DiagnosticTest.cpp
+2-2clang/docs/WarningSuppressionMappings.rst
+1-1clang/include/clang/Basic/Diagnostic.h
+2-0clang/docs/ReleaseNotes.rst
+13-175 files