SuccessChanges

Summary

  1. [libc++] Add comment in atomic test to explain why part of it is disabled on Apple (details)
  2. [MemProf] Rename HeapProfiler to MemProfiler for consistency (details)
  3. [gn build] Port 226d80ebe20 (details)
  4. [docs][NewPM] Add docs for writing NPM passes (details)
  5. [Asan] Fix false leak report (details)
  6. Make namespace handling uniform across dialect backends. (details)
  7. Update PowerPC backend ownership in CODE_OWNERS.TXT (details)
  8. [AMDGPU] Add XDL resource to scheduling model (details)
Commit becf15527583380b510ce269ee51abd364551f13 by Louis Dionne
[libc++] Add comment in atomic test to explain why part of it is disabled on Apple
The file was modifiedlibcxx/test/std/atomics/types.pass.cpp (diff)
Commit 226d80ebe20e2d796af6c1bc43d9fbdfbb9d4a07 by tejohnson
[MemProf] Rename HeapProfiler to MemProfiler for consistency

This is consistent with the clang option added in
7ed8124d46f94601d5f1364becee9cee8538265e, and the comments on the
runtime patch in D87120.

Differential Revision: https://reviews.llvm.org/D87622
The file was modifiedclang/include/clang/Driver/SanitizerArgs.h (diff)
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp (diff)
The file was modifiedllvm/test/Instrumentation/HeapProfiler/scale-granularity.ll (diff)
The file was modifiedllvm/test/Instrumentation/HeapProfiler/version-mismatch-check.ll (diff)
The file was modifiedllvm/lib/Transforms/Instrumentation/CMakeLists.txt (diff)
The file was removedllvm/include/llvm/Transforms/Instrumentation/HeapProfiler.h
The file was addedllvm/include/llvm/Transforms/Instrumentation/MemProfiler.h
The file was modifiedllvm/test/Instrumentation/HeapProfiler/instrumentation-use-callbacks.ll (diff)
The file was modifiedllvm/lib/Passes/PassBuilder.cpp (diff)
The file was modifiedllvm/test/Instrumentation/HeapProfiler/masked-load-store.ll (diff)
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def (diff)
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp (diff)
The file was modifiedllvm/include/llvm/InitializePasses.h (diff)
The file was modifiedclang/test/Driver/fmemprof.cpp (diff)
The file was addedllvm/lib/Transforms/Instrumentation/MemProfiler.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def (diff)
The file was modifiedllvm/lib/Transforms/Instrumentation/Instrumentation.cpp (diff)
The file was removedllvm/lib/Transforms/Instrumentation/HeapProfiler.cpp
The file was modifiedclang/lib/Driver/SanitizerArgs.cpp (diff)
The file was modifiedllvm/test/Instrumentation/HeapProfiler/basic.ll (diff)
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp (diff)
Commit 2ad38f7a46b59a5b6653239245d29590d7977b29 by llvmgnsyncbot
[gn build] Port 226d80ebe20
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn (diff)
Commit c2590de30df23ef0db39b496cdec62a83a61fbfa by aeubanks
[docs][NewPM] Add docs for writing NPM passes

As to not conflict with the legacy PM example passes under
llvm/lib/Transforms/Hello, this is under HelloNew. This makes the
CMakeLists.txt and general directory structure less confusing for people
following the example.

Much of the doc structure was taken from WritinAnLLVMPass.rst.

This adds a HelloWorld pass which simply prints out each function name.

More will follow after this, e.g. passes over different units of IR, analyses.
https://llvm.org/docs/WritingAnLLVMPass.html contains a lot more.

Reviewed By: ychen, asbirlea

Differential Revision: https://reviews.llvm.org/D86979
The file was modifiedllvm/lib/Passes/PassBuilder.cpp (diff)
The file was addedllvm/docs/WritingAnLLVMNewPMPass.rst
The file was modifiedllvm/lib/Passes/PassRegistry.def (diff)
The file was addedllvm/utils/gn/secondary/llvm/lib/Transforms/HelloNew/BUILD.gn
The file was addedllvm/include/llvm/Transforms/HelloNew/HelloWorld.h
The file was modifiedllvm/lib/Transforms/LLVMBuild.txt (diff)
The file was addedllvm/lib/Transforms/HelloNew/CMakeLists.txt
The file was modifiedllvm/docs/UserGuides.rst (diff)
The file was addedllvm/lib/Transforms/HelloNew/LLVMBuild.txt
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Passes/BUILD.gn (diff)
The file was modifiedllvm/docs/WritingAnLLVMPass.rst (diff)
The file was addedllvm/test/Transforms/HelloNew/helloworld.ll
The file was modifiedllvm/lib/Passes/LLVMBuild.txt (diff)
The file was modifiedllvm/lib/Transforms/CMakeLists.txt (diff)
The file was addedllvm/lib/Transforms/HelloNew/HelloWorld.cpp
Commit 9d01612db48fa27d18c6320974b8d711572e5c67 by Vitaly Buka
[Asan] Fix false leak report

If user thread is in the allocator, the allocator
may have no pointer into future user's part of
the allocated block. AddrIsInside ignores such
pointers and lsan reports a false memory leak.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D87552
The file was modifiedcompiler-rt/lib/asan/asan_allocator.cpp (diff)
The file was addedcompiler-rt/test/asan/TestCases/redzone_noleak.cpp
Commit 7d1ed69c8aad00f3ba1e917da54508489de6d610 by joker.eph
Make namespace handling uniform across dialect backends.

Now backends spell out which namespace they want to be in, instead of relying on
clients #including them inside already-opened namespaces. This also means that
cppNamespaces should be fully qualified, and there's no implicit "::mlir::"
prepended to them anymore.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D86811
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVOps.h (diff)
The file was modifiedmlir/examples/toy/Ch4/include/toy/Dialect.h (diff)
The file was modifiedmlir/examples/toy/Ch6/include/toy/Ops.td (diff)
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp (diff)
The file was modifiedmlir/examples/toy/Ch5/include/toy/Ops.td (diff)
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h (diff)
The file was modifiedmlir/include/mlir/Dialect/AVX512/AVX512Dialect.h (diff)
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDL.h (diff)
The file was modifiedmlir/include/mlir/IR/OpBase.td (diff)
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp (diff)
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantOps.h (diff)
The file was modifiedmlir/include/mlir/TableGen/Operator.h (diff)
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVAttributes.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td (diff)
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h (diff)
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.td (diff)
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantOpsBase.td (diff)
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACCOps.td (diff)
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td (diff)
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTypes.h (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h (diff)
The file was modifiedmlir/examples/toy/Ch7/include/toy/Dialect.h (diff)
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACC.h (diff)
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h (diff)
The file was modifiedmlir/examples/toy/Ch2/include/toy/Dialect.h (diff)
The file was modifiedmlir/examples/toy/Ch2/include/toy/Ops.td (diff)
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDLBase.td (diff)
The file was modifiedmlir/include/mlir/Dialect/PDLInterp/IR/PDLInterp.h (diff)
The file was modifiedmlir/include/mlir/Dialect/SCF/SCF.h (diff)
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp (diff)
The file was modifiedmlir/examples/toy/Ch3/include/toy/Dialect.h (diff)
The file was modifiedmlir/lib/Dialect/AVX512/IR/AVX512Dialect.cpp (diff)
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVDialect.h (diff)
The file was modifiedmlir/lib/Dialect/GPU/Transforms/ParallelLoopMapper.cpp (diff)
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVAttributes.cpp (diff)
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.h (diff)
The file was modifiedmlir/examples/toy/Ch3/include/toy/Ops.td (diff)
The file was modifiedmlir/examples/toy/Ch7/include/toy/Ops.td (diff)
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMAVX512.td (diff)
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h (diff)
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUBase.td (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMAVX512Dialect.h (diff)
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/AVX512/AVX512.td (diff)
The file was modifiedmlir/examples/toy/Ch5/include/toy/Dialect.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td (diff)
The file was modifiedmlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMDialect.h (diff)
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUDialect.h (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td (diff)
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMAVX512Dialect.cpp (diff)
The file was modifiedmlir/examples/toy/Ch6/include/toy/Dialect.h (diff)
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td (diff)
The file was modifiedmlir/examples/toy/Ch4/include/toy/Ops.td (diff)
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp (diff)
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.h (diff)
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td (diff)
The file was modifiedmlir/lib/TableGen/Operator.cpp (diff)
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td (diff)
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp (diff)
The file was modifiedmlir/test/mlir-tblgen/op-decl.td (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td (diff)
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/Shape.h (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMOps.td (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td (diff)
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/ROCDLDialect.h (diff)
Commit db94df04fbfaa26cc3fda1ef77af32776bd10f21 by nemanja.i.ibm
Update PowerPC backend ownership in CODE_OWNERS.TXT
The file was modifiedllvm/CODE_OWNERS.TXT (diff)
Commit f859c30ecbbbeb33a90b00b76044a688b2e71879 by Austin.Kerbow
[AMDGPU] Add XDL resource to scheduling model

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D87621
The file was modifiedllvm/lib/Target/AMDGPU/SISchedule.td (diff)
The file was addedllvm/test/CodeGen/AMDGPU/schedule-xdl-resource.ll