SuccessChanges

Summary

  1. [mlir] Initialize `isSmallAlloc` in `initialize` method. (details)
  2. [Analysis] Change VFABI::mangleTLIVectorName to use ElementCount (details)
  3. Fix exegesis build on aarch64-windows-msvc host (details)
  4. [libomptarget][amdgcn] Build amdgcn devicertl as openmp (details)
  5. [mlir][math] Split off the math dialect. (details)
  6. [OpenCL][Docs] Describe internals of TableGen builtins (details)
  7. [OpenCL][Docs] Clean up trailing characters (details)
  8. [AArch64] Add tests with sign cmps patterns that can be improved. (details)
  9. [MIRLangRef] Document MachineOperand comments (details)
  10. [mlir][math] Fix cmake files after dialect splitting. (details)
  11. [DAG] DAGTypeLegalizer::PromoteIntRes_ADDSUBSHLSAT - break if-else chain. NFCI. (details)
  12. [Test] Add test with uadd intrinsic with missing opt opportunity (details)
  13. [NFC][ProfileData] Improve language (details)
  14. [ASAN][NFC] Improve language (details)
  15. [NFC][Analysis] Change struct VecDesc to use ElementCount (details)
  16. [RISCV] Change parseVTypeI function (details)
Commit 891e769ab68f2cdbd105cb42f5c2f40051c70837 by pifon
[mlir] Initialize `isSmallAlloc` in `initialize` method.
The file was modifiedmlir/lib/Transforms/BufferOptimizations.cpp
Commit 9700228abc78db18b90c4e5fdb0c9cd582415e56 by david.sherwood
[Analysis] Change VFABI::mangleTLIVectorName to use ElementCount

Adds support for mangling TLI vector names for scalable vectors.

Differential Revision: https://reviews.llvm.org/D96338
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/Transforms/Utils/InjectTLIMappings.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/unittests/Analysis/VectorFunctionABITest.cpp
Commit 06f53f2f095c45c93d269b5dc010af506f4b0ff4 by maxim.kuvyrkov
Fix exegesis build on aarch64-windows-msvc host

Include x86 intrinsics only when compiling for x86_64
or i386.  _MSC_VER no longer implies x86.

Reviewed By: gchatelet

Differential Revision: https://reviews.llvm.org/D96498
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
Commit 6f04addc8b2eee0d88b97facfa4fb7424b4b74bd by jonathanchesterfield
[libomptarget][amdgcn] Build amdgcn devicertl as openmp

[libomptarget][amdgcn] Build amdgcn devicertl as openmp

Change cmake to build as openmp and fix up some minor errors in the code.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D96533
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_smid.hip
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_locks.hip
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
The file was modifiedopenmp/libomptarget/deviceRTLs/common/omptarget.h
Commit 4348d8ab7f6aa0359d99e49c2498af4ba2767505 by herhut
[mlir][math] Split off the math dialect.

This does not split transformations, yet. Those will be done as future clean ups.

Differential Revision: https://reviews.llvm.org/D96272
The file was modifiedmlir/test/Dialect/Standard/ops.mlir
The file was addedmlir/include/mlir/Dialect/Math/IR/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/Math/IR/MathOps.td
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/lib/Transforms/TestExpandTanh.cpp
The file was addedmlir/lib/Dialect/Math/Transforms/ExpandTanh.cpp
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
The file was modifiedmlir/test/IR/core-ops.mlir
The file was removedmlir/lib/Dialect/StandardOps/Transforms/ExpandTanh.cpp
The file was modifiedmlir/test/Transforms/buffer-deallocation.mlir
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/test/Transforms/canonicalize-dce.mlir
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
The file was addedmlir/lib/Dialect/Math/IR/CMakeLists.txt
The file was modifiedmlir/test/mlir-opt/commandline.mlir
The file was modifiedmlir/test/Analysis/test-shape-fn-report.mlir
The file was addedmlir/lib/Dialect/Math/Transforms/CMakeLists.txt
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
The file was modifiedmlir/test/Dialect/Standard/expand-tanh.mlir
The file was modifiedmlir/test/Transforms/buffer-hoisting.mlir
The file was addedmlir/include/mlir/Dialect/Math/IR/Math.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/FoldedIntrinsics.h
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/test/Dialect/SCF/parallel-loop-fusion.mlir
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
The file was modifiedmlir/test/Transforms/buffer-loop-hoisting.mlir
The file was addedmlir/lib/Dialect/Math/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/Transforms/Passes.h
The file was modifiedmlir/test/Conversion/StandardToSPIRV/subview-to-spirv.mlir
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was modifiedmlir/test/Dialect/Linalg/vectorization.mlir
The file was addedmlir/test/Dialect/Math/ops.mlir
The file was modifiedmlir/lib/Conversion/TosaToLinalg/CMakeLists.txt
The file was modifiedmlir/include/mlir/InitAllDialects.h
The file was addedmlir/lib/Dialect/Math/IR/MathOps.cpp
The file was addedmlir/include/mlir/Dialect/Math/IR/MathBase.td
The file was modifiedmlir/test/Dialect/Linalg/fusion.mlir
The file was modifiedmlir/include/mlir/Dialect/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/Math/Transforms/Passes.h
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/CMakeLists.txt
The file was modifiedmlir/test/Dialect/Linalg/bufferize.mlir
The file was modifiedmlir/test/Dialect/Linalg/convert-elementwise-to-linalg.mlir
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was addedmlir/lib/Dialect/Math/IR/MathDialect.cpp
The file was modifiedmlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
The file was addedmlir/include/mlir/Dialect/Math/EDSC/Intrinsics.h
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp
The file was addedmlir/include/mlir/Dialect/Math/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/StandardToLLVM/CMakeLists.txt
The file was modifiedmlir/test/Transforms/copy-removal.mlir
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/CMakeLists.txt
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/test/Transforms/promote-buffers-to-stack.mlir
Commit 18a70797e798ade57a3deb017692d4c47d12d6f0 by sven.vanhaastregt
[OpenCL][Docs] Describe internals of TableGen builtins

Add a high level explanation of the `-fdeclare-opencl-builtins` option.

Differential Revision: https://reviews.llvm.org/D96150
The file was modifiedclang/docs/OpenCLSupport.rst
Commit 18f16c945f52c1125b2f92a51f9dc159cb0875d1 by sven.vanhaastregt
[OpenCL][Docs] Clean up trailing characters

Clean up trailing whitespace and a stray backtick.
The file was modifiedclang/docs/OpenCLSupport.rst
Commit 6103ba4a7e228ad6bcb82f484687a6b0b63aca05 by flo
[AArch64] Add tests with sign cmps patterns that can be improved.

Some of the sign patterns can be optimized to or & asr, which requires
fewer instructions.
The file was addedllvm/test/CodeGen/AArch64/cmp-select-sign.ll
Commit cc4dcd48b84e9c2b66398b81d42d844629ed7b72 by sjoerd.meijer
[MIRLangRef] Document MachineOperand comments

Late follow-up of D74306 to document MachineOperand comments in
MIRLangRef.

Differential Revision: https://reviews.llvm.org/D96518
The file was modifiedllvm/docs/MIRLangRef.rst
Commit 2bfe27da171e8a6dddac6c444c4bca003103941a by herhut
[mlir][math] Fix cmake files after dialect splitting.

This fixes some missing dependencies that broke the shared library
build.
The file was modifiedmlir/lib/Dialect/Math/Transforms/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
Commit 2465541dc075be9a352158a0d57db3a8e7492a0a by llvm-dev
[DAG] DAGTypeLegalizer::PromoteIntRes_ADDSUBSHLSAT - break if-else chain. NFCI.

Style fixup - the if() block always returns so we can pull out the contents of the else() block.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit b6ccc7675d5040af75ab290bb193ba7ba820d49d by mkazantsev
[Test] Add test with uadd intrinsic with missing opt opportunity
The file was addedllvm/test/CodeGen/X86/uadd_inc_iv.ll
Commit fc05b2d9e592678899f96abd95e3f187b19b6998 by Vitaly Buka
[NFC][ProfileData] Improve language
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
Commit 0b3d31222df9a07ce137cac1fc16995911c547ba by Vitaly Buka
[ASAN][NFC] Improve language
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Posix/getpass.cpp
Commit 01b87444cb02c38147dccc7049b32675de860d47 by david.sherwood
[NFC][Analysis] Change struct VecDesc to use ElementCount

This patch changes the VecDesc struct to use ElementCount
instead of an unsigned VF value, in preparation for
future work that adds support for vectorized versions of
math functions using scalable vectors. Since all I'm doing
in this patch is switching the type I believe it's a
non-functional change. I changed getWidestVF to now return
both the widest fixed-width and scalable VF values, but
currently the widest scalable value will be zero.

Differential Revision: https://reviews.llvm.org/D96011
The file was modifiedllvm/lib/Transforms/Utils/InjectTLIMappings.cpp
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/VecFuncs.def
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
Commit feaf1d81e39ea2d08b9e0b2d61a245904f2d8c4c by 932494295
[RISCV] Change parseVTypeI function

Change parseVTypeI function to Make the added vset instruction test cases report more concrete error message.

Differential Revision: https://reviews.llvm.org/D96218
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/test/MC/RISCV/rvv/invalid.s