SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [LV] Fix typo in variable name. NFC. (details)
  2. [mlir][spirv] Remove template functions for getting op's opcode (details)
  3. [mlir][spirv] Serialize all operands together if possible (details)
  4. [X86] Add AVX512VL concat-cast tests. (details)
  5. [OPENMP]Consider 'omp_null_allocator' as a predefined allocator. (details)
  6. [SveEmitter] Add builtins for SVE2 Non-widening pairwise arithmetic (details)
  7. [SveEmitter] Add builtins for SVE2 widening pairwise arithmetic (details)
  8. [SveEmitter] Add builtins for SVE2 Bitwise ternary logical instructions (details)
  9. [SveEmitter] Add builtins for SVE2 Large integer arithmetic (details)
  10. [SveEmitter] Add builtins for SVE2 Multiplication by indexed elements (details)
Commit 3bbc71d6c969f430276fb818f428ebc8e31b439b by sjoerd.meijer
[LV] Fix typo in variable name. NFC.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
Commit a2634748cd82762341b87c5b00f374b71f18535a by antiagainst
[mlir][spirv] Remove template functions for getting op's opcode

These template functions are used in the serializer, where we can
actually directly query the opcode from the op's definition and
use that in the auto-generated serialization logic.

This removes a set of templates accounting for 319 lines from
the auto-generated inc file.

Differential Revision: https://reviews.llvm.org/D79444
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBinaryUtils.h
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
The file was modifiedmlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Commit 16027bbc3ba3332f1bce1675ad2924c6800412ce by antiagainst
[mlir][spirv] Serialize all operands together if possible

SPIR-V ops can mix operands and attributes in the definition. These
operands and attributes are serialized in the exact order of the definition
to match SPIR-V binary format requirements. It can cause excessive
generated code bloat because we are emitting code to handle each
operand/attribute separately. So here we probe first to check whether all
the operands are ahead of attributes. Then we can serialize all operands
together.

This removes ~1000 lines of code from the generated inc file.

Differential Revision: https://reviews.llvm.org/D79446
The file was modifiedmlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Commit ecd28d240149432922563cf0ab152d7c4c2fba47 by llvm-dev
[X86] Add AVX512VL concat-cast tests.
The file was modifiedllvm/test/CodeGen/X86/concat-cast.ll
Commit 8026394d3cc77db6f8172eeaa83b9747979c8642 by a.bataev
[OPENMP]Consider 'omp_null_allocator' as a predefined allocator.

Summary:
omp.h header file defines omp_null_allocator as a predefined allocator,
need to consider it also as a predefined allocator.

Reviewers: jdoerfert

Subscribers: jholewinski, yaxunl, guansong, cfe-commits, caomhin

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79186
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/task_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_private_messages.cpp
The file was modifiedclang/test/OpenMP/allocate_allocator_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_parallel_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_teams_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/target_uses_allocators_messages.cpp
The file was modifiedclang/test/OpenMP/task_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_private_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_lastprivate_messages.cpp
The file was modifiedclang/test/PCH/chain-openmp-allocate.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_firstprivate_messages.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/allocate_allocator_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_reduction_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/target_ast_print.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/nvptx_allocate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_ast_print.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_message.cpp
The file was modifiedclang/test/OpenMP/target_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_ast_print.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/nvptx_allocate_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_private_messages.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/test/OpenMP/target_private_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_parallel_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_linear_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_messages.cpp
Commit 7ff05002d0b5b73cb1d155e27cb15f5d459e86e8 by sander.desmalen
[SveEmitter] Add builtins for SVE2 Non-widening pairwise arithmetic

This patch adds builtins for:
- svaddp
- svmaxnmp
- svmaxp
- svminnmp
- svminp
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
Commit b0348af1082eb3070c34fed99496cdcd511f63e5 by sander.desmalen
[SveEmitter] Add builtins for SVE2 widening pairwise arithmetic

This patch adds builtins for:
- svadalp
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
Commit 36aab0c055a93d95e84606368e088bd1559e4ccb by sander.desmalen
[SveEmitter] Add builtins for SVE2 Bitwise ternary logical instructions

This patch adds builtins for:
- svbcax
- svbsl
- svbsl1n
- svbsl2n
- sveor3
- svnbsl
- svxar
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_xar.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
Commit 60615cfb43f540745fd38fd2ff6b35c9d5af16ee by sander.desmalen
[SveEmitter] Add builtins for SVE2 Large integer arithmetic

This patch adds builtins for:
- svadclb
- svadclt
- svsbclb
- svsbclt
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
Commit 5e9bc21eea111df698cf45048b8b0e4c3c245dd5 by sander.desmalen
[SveEmitter] Add builtins for SVE2 Multiplication by indexed elements

This patch adds builtins for:
- svmla_lane
- svmls_lane
- svmul_lane
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mla.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mul.c
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mls.c