FailedChanges

Summary

  1. Fix MLIR build with MLIR_INCLUDE_TESTS=OFF (details)
  2. [PowerPC] Implement Vector Multiply High/Divide Extended Builtins in LLVM/Clang (details)
  3. [MLIR][SPIRV] Added optional name to SPIR-V module (details)
  4. Fix an overflow issue at BackpatchWord (details)
  5. [MLIR][SPIRVToLLVM] Updated the documentation for type conversion (details)
  6. Remove the `run` method from `OpPassManager` and `Pass` and migrate it to `OpToOpPassAdaptor` (details)
  7. [NFC][Test] Update the test with utils/update_llc_test_checks.py (details)
  8. Default to -fuse-init-array on OpenBSD. (details)
  9. [SyntaxTree] Refactor `NodeRole`s (details)
Commit df2efd770047ad75af7805e72dd853ae9510a27b by joker.eph
Fix MLIR build with MLIR_INCLUDE_TESTS=OFF

error message

/usr/bin/ld: CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o: in function `main':
mlir-opt.cpp:(.text.startup.main+0xb9): undefined reference to `mlir::registerTestDialect(mlir::DialectRegistry&)'

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D86592
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
Commit 76b0f99ea854185c9866b0ab0f006137ba28e09e by amy.kwan1
[PowerPC] Implement Vector Multiply High/Divide Extended Builtins in LLVM/Clang

This patch implements the function prototypes vec_mulh and vec_dive in order to
utilize the vector multiply high (vmulh[s|u][w|d]) and vector divide extended
(vdive[s|u][w|d]) instructions introduced in Power10.

Differential Revision: https://reviews.llvm.org/D82609
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/lib/Headers/altivec.h
The file was modifiedllvm/test/CodeGen/PowerPC/p10-vector-divide.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-vector-multiply.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c
Commit d7461b31e7ef46b7a57ff4d68f8f47e5b804a25a by georgemitenk0v
[MLIR][SPIRV] Added optional name to SPIR-V module

This patch adds an optional name to SPIR-V module.
This will help with lowering from GPU dialect (so that we
can pass the kernel module name) and will be more naturally
aligned with `GPUModuleOp`/`ModuleOp`.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D86386
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/test/Dialect/SPIRV/structure-ops.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td
Commit df182eb2d5fcb3ea2407097d5d2092a024c91859 by jianzhouzh
Fix an overflow issue at BackpatchWord

This happens when generating a huge file by LTO, for example, with -gmlt.
When BitNo is > 2^35, ByteNo is overflowed, and an incorrect output offset is overwritten.
This generates ill-formed bitcodes.

Reviewed-by: tejohnson, vitalybuka

Differential Revision: https://reviews.llvm.org/D86645
The file was modifiedllvm/include/llvm/Bitstream/BitstreamWriter.h
Commit 9c224fd48ae56ab86f543c53eea6d8a5427dd37c by georgemitenk0v
[MLIR][SPIRVToLLVM] Updated the documentation for type conversion

This patch updates the type conversion section of the documentation.
It includes the modelling of array strides and the mapping of the
naturally padded structs.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D86674
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md
Commit 6c05ca21b92a720a3a6022bc1604a8809aaa85fd by joker.eph
Remove the `run` method from `OpPassManager` and `Pass` and migrate it to `OpToOpPassAdaptor`

This makes OpPassManager more of a "container" of passes and not responsible to drive the execution.
As such we also make it constructible publicly, which will allow to build arbitrary pipeline decoupled from the execution. We'll make use of this facility to expose "dynamic pipeline" in the future.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D86391
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/lib/Pass/PassDetail.h
The file was modifiedmlir/include/mlir/Pass/PassManager.h
The file was modifiedmlir/lib/Pass/Pass.cpp
Commit a60d10ac0a96756bb56970123196cd8ad117b70f by qshanz
[NFC][Test] Update the test with utils/update_llc_test_checks.py
The file was modifiedllvm/test/CodeGen/PowerPC/loop-instr-form-prepare.ll
Commit a45ccc983b51330fd49c8526fe4770e40eeab708 by brad
Default to -fuse-init-array on OpenBSD.
The file was modifiedclang/lib/Driver/ToolChains/OpenBSD.cpp
The file was modifiedclang/lib/Driver/ToolChains/OpenBSD.h
The file was modifiedclang/test/Driver/openbsd.c
Commit 718e550cd0362c3421accb6e2067b5fdc3eddb17 by ecaldas
[SyntaxTree] Refactor `NodeRole`s

Previously a NodeRole would generally be prefixed with the `NodeKind`,
we remove this prefix, as it we redundant and made tests more noisy.

Differential Revision: https://reviews.llvm.org/D86636
The file was modifiedclang/include/clang/Tooling/Syntax/Nodes.h
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp
The file was modifiedclang/unittests/Tooling/Syntax/BuildTreeTest.cpp
The file was modifiedclang/lib/Tooling/Syntax/Nodes.cpp