LLVM/project a500d65mlir/lib/Dialect/OpenACC/IR OpenACCCG.cpp

[MLIR][ACC] Fix -Wunused-variable in dfe7738

There was a variable only used in an assertion which causes warnings in
non-assertions builds. Fix the issue by inlining the variable into the
assertion given it is only used in one place.
DeltaFile
+1-2mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
+1-21 files

LLVM/project 026b90flibcxx/include string

no dups

Created using spr 1.3.7
DeltaFile
+0-2libcxx/include/string
+0-21 files

LLVM/project 125519eclang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/AST/HLSL Texture2D-vector-AST.hlsl Texture2D-scalar-AST.hlsl

no explicit limits

Created using spr 1.3.7
DeltaFile
+754-88clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+726-0clang/test/AST/HLSL/Texture2D-vector-AST.hlsl
+722-0clang/test/AST/HLSL/Texture2D-scalar-AST.hlsl
+560-0clang/test/SemaSYCL/sycl-kernel-launch.cpp
+364-111llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.ll
+0-439clang/test/AST/HLSL/Texture2D-AST.hlsl
+3,126-638224 files not shown
+8,782-2,526230 files

LLVM/project 283116eclang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/AST/HLSL Texture2D-vector-AST.hlsl Texture2D-scalar-AST.hlsl

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+754-88clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+726-0clang/test/AST/HLSL/Texture2D-vector-AST.hlsl
+722-0clang/test/AST/HLSL/Texture2D-scalar-AST.hlsl
+560-0clang/test/SemaSYCL/sycl-kernel-launch.cpp
+364-111llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.ll
+400-39clang/test/CodeGen/AArch64/neon/intrinsics.c
+3,526-238224 files not shown
+8,782-2,526230 files

LLVM/project 2d67bf9clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/AST/HLSL Texture2D-vector-AST.hlsl Texture2D-scalar-AST.hlsl

no explicit limits

Created using spr 1.3.7
DeltaFile
+754-88clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+726-0clang/test/AST/HLSL/Texture2D-vector-AST.hlsl
+722-0clang/test/AST/HLSL/Texture2D-scalar-AST.hlsl
+560-0clang/test/SemaSYCL/sycl-kernel-launch.cpp
+364-111llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.ll
+0-439clang/test/AST/HLSL/Texture2D-AST.hlsl
+3,126-638224 files not shown
+8,782-2,526230 files

LLVM/project b57d62cclang/include/clang/AST ASTStructuralEquivalence.h

[Clang][NFC] Apply Rule of Three to AttrScopedAttrEquivalenceContext (#184905)

Static analysis flagged AttrScopedAttrEquivalenceContext as having a
user defined destructor but not having copy ctor or copy assignment. I
set them as deleted since they are not needed.
DeltaFile
+4-0clang/include/clang/AST/ASTStructuralEquivalence.h
+4-01 files

LLVM/project 08f6fedclang/test/OpenMP loop_collapse_codegen.cpp, llvm/test/CodeGen/AArch64 clmul-fixed.ll

rebase

Created using spr 1.3.7
DeltaFile
+6,520-0llvm/test/CodeGen/X86/bit-manip-i512.ll
+3,707-46llvm/test/CodeGen/AArch64/clmul-fixed.ll
+3,441-0llvm/test/MC/AMDGPU/gfx13_asm_vflat.s
+3,257-0llvm/test/CodeGen/X86/bit-manip-i256.ll
+857-0clang/test/OpenMP/loop_collapse_codegen.cpp
+706-0llvm/test/Transforms/LoopVectorize/float-induction.ll
+18,488-46437 files not shown
+31,961-4,273443 files

LLVM/project cc2c0f9clang/test/OpenMP loop_collapse_codegen.cpp, llvm/test/CodeGen/AArch64 clmul-fixed.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+6,520-0llvm/test/CodeGen/X86/bit-manip-i512.ll
+3,707-46llvm/test/CodeGen/AArch64/clmul-fixed.ll
+3,441-0llvm/test/MC/AMDGPU/gfx13_asm_vflat.s
+3,257-0llvm/test/CodeGen/X86/bit-manip-i256.ll
+857-0clang/test/OpenMP/loop_collapse_codegen.cpp
+706-0llvm/test/Transforms/LoopVectorize/float-induction.ll
+18,488-46436 files not shown
+31,959-4,273442 files

LLVM/project 68708c6clang/lib/Lex HeaderSearch.cpp ModuleMap.cpp, clang/test/Modules deprecated-upwards-relative-path.m

rebase

Created using spr 1.3.7
DeltaFile
+22-82lldb/test/API/python_api/run_locker/TestRunLocker.py
+91-0clang/test/SemaHLSL/Types/BuiltinMatrix/MatrixFloatPrecisionWarnings.hlsl
+81-0clang/test/Modules/deprecated-upwards-relative-path.m
+46-27clang/lib/Lex/HeaderSearch.cpp
+36-12clang/lib/Lex/ModuleMap.cpp
+0-44libcxx/test/std/strings/basic.string/string.cons/constexpr_initialization_stress.pass.cpp
+276-16520 files not shown
+450-24426 files

LLVM/project cf8004bllvm/include/llvm/ExecutionEngine/Orc WaitingOnGraph.h

[ORC] Remove accidental #include left in 7f6ada93f72. NFC.

left in the final commit.
DeltaFile
+0-2llvm/include/llvm/ExecutionEngine/Orc/WaitingOnGraph.h
+0-21 files

LLVM/project a69df50llvm/test/CodeGen/AMDGPU call-argument-types.ll amdgcn.bitcast.768bit.ll

[AMDGPU] Regenerated tests after rebasing on top of
users/dhruvachak/add_physical_to_gcn_trackers_after_rename.
DeltaFile
+284-572llvm/test/CodeGen/AMDGPU/call-argument-types.ll
+227-225llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
+180-196llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll
+171-143llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll
+131-80llvm/test/CodeGen/AMDGPU/bf16.ll
+88-94llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll
+1,081-1,3109 files not shown
+1,477-1,70115 files

LLVM/project 63db92dclang-tools-extra/clang-tidy/hicpp NoAssemblerCheck.cpp NoAssemblerCheck.h, clang-tools-extra/clang-tidy/portability NoAssemblerCheck.cpp NoAssemblerCheck.h

[clang-tidy] Rename hicpp-no-assembler to portability-no-assembler, keep hicpp as alias (#184030)

Part of #183462.

closes #183466.
DeltaFile
+37-0clang-tools-extra/clang-tidy/portability/NoAssemblerCheck.cpp
+0-37clang-tools-extra/clang-tidy/hicpp/NoAssemblerCheck.cpp
+30-0clang-tools-extra/clang-tidy/portability/NoAssemblerCheck.h
+0-30clang-tools-extra/clang-tidy/hicpp/NoAssemblerCheck.h
+12-0clang-tools-extra/test/clang-tidy/checkers/portability/no-assembler.cpp
+0-12clang-tools-extra/test/clang-tidy/checkers/hicpp/no-assembler.cpp
+79-798 files not shown
+110-8814 files

LLVM/project 7f6ada9llvm/include/llvm/ExecutionEngine/Orc WaitingOnGraph.h

[ORC] Move WaitingOnGraph::hoistDeps into SuperNode. NFCI.

This simplifies the extraction of ModifiedPendingSNs at the start of the emit
function.
DeltaFile
+73-73llvm/include/llvm/ExecutionEngine/Orc/WaitingOnGraph.h
+73-731 files

LLVM/project 43dbcdellvm/utils/gn/secondary/clang/lib/Tooling BUILD.gn, llvm/utils/gn/secondary/compiler-rt/lib/asan BUILD.gn

[gn] Reformat build files

Ran:

    git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format

No behavior change.
DeltaFile
+2-2llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
+1-1llvm/utils/gn/secondary/clang/lib/Tooling/BUILD.gn
+1-1llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
+1-1llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
+1-1llvm/utils/gn/secondary/lldb/test/BUILD.gn
+1-1llvm/utils/gn/secondary/compiler-rt/test/asan/BUILD.gn
+7-77 files not shown
+14-1313 files

LLVM/project fd32fc5llvm/include/llvm/ExecutionEngine/Orc WaitingOnGraph.h

[ORC] Refactor some WaitingOnGraph loops into named methods. NFCI. (#184775)

Adds new methods to SuperNode for updating ElemToSuperNodeMap values,
use it to tidy up some loops.
DeltaFile
+62-29llvm/include/llvm/ExecutionEngine/Orc/WaitingOnGraph.h
+62-291 files

LLVM/project bd3006fllvm/utils/gn/secondary/llvm/utils/llvm-lit BUILD.gn

[gn] port 4ea39c43e1338a
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
+1-01 files

LLVM/project 23e4fe0clang/include/clang/Basic AttrDocs.td, clang/lib/Sema SemaSYCL.cpp

[SYCL] SYCL host kernel launch support for the sycl_kernel_entry_point attribute. (#152403)

The `sycl_kernel_entry_point` attribute facilitates the generation of an
offload kernel entry point function based on the parameters and body
of the attributed function. This change extends the behavior of that
attribute to support integration with a SYCL runtime library through
an interface that communicates symbol names and kernel arguments
for the generated offload kernel entry point functions.

Consider the following function declared with the
`sycl_kernel_entry_point` attribute with a call to this function
occurring in the implementation of a SYCL kernel invocation function
such as `sycl::handler::single_task()`.
```c++
  template<typename KernelName, typename KernelType>
  [[clang::sycl_kernel_entry_point(KernelName)]]
  void kernel_entry_point(KernelType kernel) {
    kernel();
  }

    [49 lines not shown]
DeltaFile
+560-0clang/test/SemaSYCL/sycl-kernel-launch.cpp
+272-34clang/lib/Sema/SemaSYCL.cpp
+254-21clang/test/CodeGenSYCL/kernel-caller-entry-point.cpp
+129-95clang/include/clang/Basic/AttrDocs.td
+196-7clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp
+188-0clang/test/SemaSYCL/sycl-kernel-entry-point-attr-this.cpp
+1,599-15737 files not shown
+2,409-21843 files

LLVM/project 41ac6eblldb/source/Plugins/Process/FreeBSD NativeRegisterContextFreeBSD_x86.h

[lldb][FreeBSD] Fix some missed renaming to x86 for shared files (#183980)

Fix #180624.
Apparently a slight oversight.
DeltaFile
+4-5lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86.h
+4-51 files

LLVM/project b15115cclang-tools-extra/test/clang-tidy/checkers/readability identifier-length-ignored-exception-variable-names.cpp redundant-parentheses-allowed-decls.cpp

[clang-tidy][NFC] Add missing Option tests in `readability` [2/N] (#184708)

This PR adds testcases for untested Options in `readability` module for
better test coverage, specifically:

- `readability-identifier-length`: `IgnoredExceptionVariableNames`,
`IgnoredLoopCounterNames`, `IgnoredParameterNames`,
`MinimumExceptionNameLength`, `MinimumLoopCounterNameLength`,
`MinimumParameterNameLength`, `MinimumVariableNameLength`.
- `readability-magic-numbers`: `IgnoreAllFloatingPointValues`.
- `readability-qualified-auto`: `AddConstToQualified`.
- `readability-redundant-parentheses`: `AllowedDecls`.
- `readability-suspicious-call-argument`: `MinimumIdentifierNameLength`.
- `readability-use-std-min-max`: `IncludeStyle`.

As of AI Usage: Assisted by Gemini 3 and Claude (Writing part of the
testcases and pre-commit reviewing).
DeltaFile
+22-0clang-tools-extra/test/clang-tidy/checkers/readability/identifier-length-ignored-exception-variable-names.cpp
+16-0clang-tools-extra/test/clang-tidy/checkers/readability/redundant-parentheses-allowed-decls.cpp
+16-0clang-tools-extra/test/clang-tidy/checkers/readability/identifier-length-minimum-exception-name-length.cpp
+14-0clang-tools-extra/test/clang-tidy/checkers/readability/identifier-length-minimum-loop-counter-name-length.cpp
+14-0clang-tools-extra/test/clang-tidy/checkers/readability/identifier-length-ignored-loop-counter-names.cpp
+13-0clang-tools-extra/test/clang-tidy/checkers/readability/use-std-min-max-include-style.cpp
+95-06 files not shown
+156-112 files

LLVM/project bd4cb40libc/src/__support/math log.h

revert to ifdef
DeltaFile
+1-1libc/src/__support/math/log.h
+1-11 files

LLVM/project 9809384clang/include/clang/Basic DiagnosticSemaKinds.td, clang/test/Modules auto-module-import.m extern_c.cpp

[clang][modules] -Wmodule-import-in-extern-c should not be an error by default (#184530)

Importing a module inside of an `extern "C" {...}` section doesn't have
any effect, i.e. the imported module is not treated as `extern "C"`,
it's built independent of the includer state. The warning is akin to
`-Wconfig-macros`, it's trying to say that the behavior will be
different (and unexpected) when compiling with modules. That doesn't
need to be an error, a warning is enough. As an error, it makes it
difficult to support and test modules in C++ mode while dependencies
still have includes in `extern "C" {...}`.

 rdar://171677028
DeltaFile
+1-2clang/include/clang/Basic/DiagnosticSemaKinds.td
+1-1clang/test/Modules/auto-module-import.m
+1-1clang/test/Modules/extern_c.cpp
+3-43 files

LLVM/project cbc16ablibc/src/__support/math log.h

remove unnecessary check
DeltaFile
+1-2libc/src/__support/math/log.h
+1-21 files

LLVM/project ca155dbclang/include/clang/Frontend CompilerInstance.h, clang/lib/Frontend CompilerInstance.cpp

[clang] Enable wrapping the FrontendAction for module builds (#184907)

This PR upstreams a piece of infrastructure from Swift's LLVM fork. This
allows adding custom wrappers around the `FrontendAction` that compiles
Clang modules from a module map into a PCM file. This will be used to
implement modules support in the CAS-based compilation caching mode.
DeltaFile
+16-0clang/include/clang/Frontend/CompilerInstance.h
+11-2clang/lib/Frontend/CompilerInstance.cpp
+27-22 files

LLVM/project ff5f1f2llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll

[AMDGPU] Enabled GCN trackers (amdgpu-use-amdgpu-trackers) by default.

The LIT tests have been generally updated in one of the following ways:
(1) If the above option was not present and the test was auto-generated,
the test has now been auto-generated.
(2) If the above option was not present and the test was not
auto-generated, added the option -amdgpu-use-amdgpu-trackers=0 so as to
preserve any specific attributes the test was already checking.
(3) If the above option was present in a test, then its value has been
updated to reflect the change in the default.

Currently, there are 4 tests in category (2). They are:
CodeGen/AMDGPU/
  addrspacecast.ll
  schedule-regpressure-limit.ll
  schedule-regpressure-limit2.ll
  sema-v-unsched-bundle.ll

There are 8 tests in category (3). They are:

    [15 lines not shown]
DeltaFile
+77,782-77,355llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+13,255-13,280llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+9,928-9,400llvm/test/CodeGen/AMDGPU/bf16.ll
+4,484-4,395llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+3,842-3,812llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+3,802-3,690llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+113,093-111,932156 files not shown
+169,018-166,670162 files

LLVM/project 742008dlibclc/opencl/lib/amdgcn SOURCES, libclc/opencl/lib/amdgcn/synchronization barrier.cl

libclc: Define work_group_barrier (#184780)

Previously only the old barrier name was implemented. Define this
as an indirection around the new name, and move it to common code.
The target implementations are already provided by
__clc_work_group_barrier,
so targets were unnecessarily duplicating these.

This also fixes the default scope, which should be
memory_work_group_scope. Previously this was guessing that
if the flags included global memory, it makes the scope
device which is not the case.
DeltaFile
+27-0libclc/opencl/lib/generic/synchronization/work_group_barrier.cl
+0-17libclc/opencl/lib/amdgcn/synchronization/barrier.cl
+0-17libclc/opencl/lib/ptx-nvidiacl/synchronization/barrier.cl
+1-1libclc/opencl/lib/generic/async/wait_group_events.cl
+0-1libclc/opencl/lib/amdgcn/SOURCES
+1-0libclc/opencl/lib/generic/SOURCES
+29-361 files not shown
+29-377 files

LLVM/project 5a6e027llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

fix Dave Green's comment

Created using spr 1.3.7
DeltaFile
+1-1llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-11 files

LLVM/project 8feceeellvm/lib/Target/AArch64 AArch64ISelLowering.cpp

update

Created using spr 1.3.7
DeltaFile
+1-1llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-11 files

LLVM/project 42ff1f7llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1-1llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-11 files

LLVM/project ef3955dlibclc/opencl/lib/amdgcn-amdhsa/workitem get_local_size.cl get_global_size.cl

libclc: Reimplement amdhsa dispatch size functions (#184885)

Assume cov5 and use new ABI.
DeltaFile
+14-10libclc/opencl/lib/amdgcn-amdhsa/workitem/get_local_size.cl
+8-4libclc/opencl/lib/amdgcn-amdhsa/workitem/get_global_size.cl
+22-142 files

LLVM/project 03d453alibc/src/__support/FPUtil/generic add_sub.h, libc/test/src/math/smoke AddTest.h SubTest.h

[libc][math] Fix FP add/sub for signed-zero operands (#183243)

(-0.0) + (-0.0) and (-0.0) - (+0.0) returned +0.0 instead of -0.0.

Ensure these cases comply with IEEE 754 §6.3 rule.
DeltaFile
+15-2libc/test/src/math/smoke/AddTest.h
+15-2libc/test/src/math/smoke/SubTest.h
+2-0libc/src/__support/FPUtil/generic/add_sub.h
+32-43 files