SuccessChanges

Summary

  1. Adds argument attributes for using LLVM's sret and byval attributes to (details)
  2. [NFC] make clang/test/CodeGen/arm_neon_intrinsics.c resistent to function attribute id changes (details)
  3. [mlir] NFC: fix trivial typos (details)
  4. [AST][NFC] Silence GCC warning about multiline comments (details)
  5. Add element-type to the Vector TypeLoc types. (details)
  6. [Coverage] Refactor three tests from commit rG9f2967bcfe2f (details)
  7. [mlir] revert 82f5ee3c3e601daad5 (details)
  8. Fix GCC5 build, require explicit this->... in this call inside a lambda (NFC) (details)
  9. [NFC] Removed unused prefixes from CodeGen/AMDGPU (details)
Commit 82f5ee3c3e601daad546c320a98d9e7860d6347d by eschweitz
Adds argument attributes for using LLVM's sret and byval attributes to
the conversion of LLVM IR dialect. These attributes are used in FIR to
support the lowering of Fortran using target-specific calling
conventions.

Add roundtrip tests. Add changes per review comments/concerns.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D94052
The file was modifiedmlir/test/Target/llvmir-invalid.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/func.mlir
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Commit 59fce6b0661647062918a47bdb1874950d3938d5 by lucas.prates
[NFC] make clang/test/CodeGen/arm_neon_intrinsics.c resistent to function attribute id changes

When introducing support for @llvm.experimental.noalias.scope.decl, this tests started failing because it checks
(for no good reason) for a function attribute id of '#8' which now becomes '#9'

Reviewed By: pratlucas

Differential Revision: https://reviews.llvm.org/D94233
The file was modifiedclang/test/CodeGen/arm_neon_intrinsics.c
Commit f88fab500689852d06dd6e30ea1a8425ed7fd0e4 by ishizaki
[mlir] NFC: fix trivial typos

fix typo under include and lib directories

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D94220
The file was modifiedmlir/include/mlir/Support/IndentedOstream.h
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/lib/Transforms/Utils/FoldUtils.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/TosaMakeBroadcastable.cpp
The file was modifiedmlir/include/mlir/IR/ImplicitLocOpBuilder.h
The file was modifiedmlir/lib/CAPI/Transforms/Passes.cpp
The file was modifiedmlir/lib/Target/SPIRV/Serialization.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/lib/Transforms/BufferUtils.cpp
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
The file was modifiedmlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVMPass.h
The file was modifiedmlir/include/mlir/Dialect/Async/IR/AsyncOps.td
The file was modifiedmlir/include/mlir-c/Support.h
The file was modifiedmlir/lib/Rewrite/ByteCode.h
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/include/mlir/Dialect/Tosa/Utils/QuantUtils.h
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLSLOps.td
The file was modifiedmlir/include/mlir/Transforms/Bufferize.h
The file was modifiedmlir/include/mlir/Dialect/ArmSVE/ArmSVE.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/Predicate.h
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/ModuleCombiner.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/Transforms/Passes.td
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/TypeDetail.h
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was modifiedmlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
The file was modifiedmlir/lib/Transforms/Utils/RegionUtils.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/ExpandOps.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/include/mlir/Target/LLVMIR/TypeTranslation.h
The file was modifiedmlir/include/mlir/Pass/PassRegistry.h
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertKernelFuncToBlob.cpp
Commit acbb3652931a735a861b756075b1cc86fd041761 by thomasp
[AST][NFC] Silence GCC warning about multiline comments

Remove continuation line in code snippet to prevent GCC warning about
multiline comments (-Wcomment) when building a project using libclang
with GCC.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D92409
The file was modifiedclang/include/clang/AST/DeclOpenMP.h
Commit 43043adcfbc60945646b791d7162e5a1307a5318 by erich.keane
Add element-type to the Vector TypeLoc types.

As shown by bug 48540, GCC vector types would cause a crash when the
declaration hada ParenType. This was because the walking of the
declaration would try to expand the 'inner' type, but there was no
ability to get it from the vector type.  This patch adds that element
type access to the vector type loc objects.

Differential Revision: https://reviews.llvm.org/D93483
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/test/SemaCXX/vector.cpp
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/lib/Sema/SemaType.cpp
Commit ebcc8dcb68aa37f34a87641b0c8b73086712a3cf by a-phipps
[Coverage] Refactor three tests from commit rG9f2967bcfe2f

Refactor three tests to not depend on other test files as input but to instead
refer to "Inputs" subdirectory.
The file was removedllvm/test/tools/llvm-cov/branch-c-general.c
The file was modifiedllvm/test/tools/llvm-cov/branch-noShowBranch.test
The file was modifiedllvm/test/tools/llvm-cov/branch-export-lcov.test
The file was modifiedllvm/test/tools/llvm-cov/branch-export-json.test
The file was addedllvm/test/tools/llvm-cov/Inputs/branch-c-general.c
The file was addedllvm/test/tools/llvm-cov/branch-c-general.test
Commit bd78f4e93212f2b9bea233905faa2a85bf7bdba7 by eschweitz
[mlir] revert 82f5ee3c3e601daad5
The file was modifiedmlir/test/Dialect/LLVMIR/func.mlir
The file was modifiedmlir/test/Target/llvmir-invalid.mlir
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Commit 41e31eac14c239970a220f81de5fdd3b231b5184 by joker.eph
Fix GCC5 build, require explicit this->... in this call inside a lambda (NFC)

Error was:

mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:2247:36: error: cannot call member function 'mlir::LLVM::FastmathFlags mlir::LLVM::FMFAttr::getFlags() const' without object
     return bitEnumContains(getFlags(), flag);
                                    ^
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
Commit ee57d30f4487548d844cc3ffa5895bd3c6b38585 by mtrofin
[NFC] Removed unused prefixes from CodeGen/AMDGPU

Last bulk batch.

Differential Revision: https://reviews.llvm.org/D94236
The file was modifiedllvm/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/zero_extend.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/usubsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uint_to_fp.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uaddsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-spill.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/xnor.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unstructured-cfg-def-use-issue.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_mac.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/trunc-store-i1.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_madak_f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unsupported-calls.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/widen-smrd-loads.ll