LLVM/project 1ac306bllvm/test/CodeGen/AMDGPU global-atomicrmw-fadd.ll buffer-fat-pointer-atomicrmw-fadd.ll, llvm/test/CodeGen/LoongArch float-imm-vldi.ll

Rebase, address comments

Created using spr 1.3.5
DeltaFile
+9,394-2,007llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
+5,975-1,080llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+6,145-0llvm/test/CodeGen/LoongArch/float-imm-vldi.ll
+5,032-0llvm/test/CodeGen/X86/avx10_2ni-intrinsics.ll
+3,300-0llvm/test/MC/Disassembler/X86/avx10_2ni-32.txt
+3,300-0llvm/test/MC/Disassembler/X86/avx10_2ni-64.txt
+33,146-3,087984 files not shown
+92,597-22,713990 files

LLVM/project ff45a2dllvm/test/CodeGen/AMDGPU global-atomicrmw-fadd.ll buffer-fat-pointer-atomicrmw-fadd.ll, llvm/test/CodeGen/LoongArch float-imm-vldi.ll

use a link

Created using spr 1.3.5-bogner
DeltaFile
+9,394-2,007llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
+5,975-1,080llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+6,145-0llvm/test/CodeGen/LoongArch/float-imm-vldi.ll
+5,032-0llvm/test/CodeGen/X86/avx10_2ni-intrinsics.ll
+3,300-0llvm/test/MC/Disassembler/X86/avx10_2ni-32.txt
+3,300-0llvm/test/MC/Disassembler/X86/avx10_2ni-64.txt
+33,146-3,0871,637 files not shown
+96,481-25,3701,643 files

LLVM/project 620d187llvm/test/CodeGen/AMDGPU global-atomicrmw-fadd.ll buffer-fat-pointer-atomicrmw-fadd.ll, llvm/test/CodeGen/AMDGPU/GlobalISel global-atomic-fadd.f64.ll

rebase

Created using spr 1.3.4
DeltaFile
+9,394-2,007llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
+5,975-1,080llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+541-2,213llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
+737-959llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
+221-1,172llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f64.ll
+208-1,135llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f64.ll
+17,076-8,5661,101 files not shown
+37,102-21,9711,107 files

LLVM/project 40b168fllvm/test/CodeGen/AMDGPU global-atomicrmw-fadd.ll buffer-fat-pointer-atomicrmw-fadd.ll, llvm/test/CodeGen/AMDGPU/GlobalISel global-atomic-fadd.f64.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+9,394-2,007llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
+5,975-1,080llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+541-2,213llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
+737-959llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
+221-1,172llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f64.ll
+208-1,135llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f64.ll
+17,076-8,5661,101 files not shown
+37,102-21,9711,107 files

LLVM/project 70f57declang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP target_map_nest_defalut_mapper_codegen.cpp

reorder functions

Created using spr 1.3.4
DeltaFile
+356-0clang/test/OpenMP/target_map_nest_defalut_mapper_codegen.cpp
+241-29llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+233-0llvm/test/Transforms/InstCombine/fcmp.ll
+216-0llvm/test/CodeGen/X86/avx10_2ni-intrinsics.ll
+215-0clang/lib/Sema/SemaOpenMP.cpp
+150-0llvm/test/MC/Disassembler/X86/avx10_2ni-64.txt
+1,411-29137 files not shown
+4,276-412143 files

LLVM/project ed5b0e1clang/lib/Headers/hlsl hlsl_intrinsics.h, clang/lib/Sema SemaHLSL.cpp

Add length builtins and length HLSL function to DirectX Backend (#101256)

This PR adds the length intrinsic and an HLSL function that uses it.
The SPIRV implementation is left for a future PR.
This PR addresses #99134, though some SPIR-V changes still need to be
made to complete the task. Below is how this PR addresses #99134.
- "Implement `length` clang builtin" was done by defining `HLSLL ength`
in Builtins.td
- "Link `length` clang builtin with hlsl_intrinsics.h" was done by using
the alias attribute to make `length` an alias of
`__builtin_hlsl_elementwise_length` in hlsl_intrinsics.h
- "Add sema checks for `length` to `CheckHLSLBuiltinFunctionCall` in
`SemaChecking.cpp` " was done, but in this case not in SemaChecking.cpp,
rather SemaHLSL.cpp. A case was added to the builtin to check for
semantic failures, and set `TheCall` up to have the right return type.
- "Add codegen for `length` to `EmitHLSLBuiltinExpr` in `CGBuiltin.cpp`"
was done. For scalars, fabs is emitted, otherwise, length is emitted.
- "Add codegen tests to `clang/test/CodeGenHLSL/builtins/length.hlsl`
was done to test that `length` in HLSL emits the right intrinsic.

    [20 lines not shown]
DeltaFile
+116-0llvm/test/CodeGen/DirectX/length.ll
+73-0clang/test/CodeGenHLSL/builtins/length.hlsl
+34-0llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
+32-0clang/lib/Headers/hlsl/hlsl_intrinsics.h
+31-0clang/test/SemaHLSL/BuiltIns/length-errors.hlsl
+18-0clang/lib/Sema/SemaHLSL.cpp
+304-08 files not shown
+357-014 files