Changes

Summary

  1. Add a best practice section on how to configure a fast builder (details)
  2. [PowerPC] Regenerate rlwinm2.ll test (details)
  3. [Thumb2] Regenerate ext + rot tests (details)
  4. [ARM] Regenerate sxt_rot.ll tests (details)
  5. [llvm] Use range-based for loops (NFC) (details)
  6. [CodeGen] Use llvm::is_contained (NFC) (details)
  7. [mlir] Move trait to InferTypeOpInterface (details)
  8. [mlir] Fix unused function warning (NFC) (details)
Commit 73d52ee7859fb8b754bca02d789a460974aa33e6 by listmail
Add a best practice section on how to configure a fast builder

This is based on conversations with a couple of folks currently running buildbots. There's a couple pieces which didn't make it in, but this tries to cover the common themes.

Differential Revision: https://reviews.llvm.org/D114325
The file was modifiedllvm/docs/HowToAddABuilder.rst
Commit 357d6362891e057e8fc721bcf76917723f996a40 by llvm-dev
[PowerPC] Regenerate rlwinm2.ll test
The file was modifiedllvm/test/CodeGen/PowerPC/rlwinm2.ll
Commit eced44637cfbfda462888255ac812ad48544f7de by llvm-dev
[Thumb2] Regenerate ext + rot tests
The file was modifiedllvm/test/CodeGen/Thumb2/thumb2-uxt_rot.ll
The file was modifiedllvm/test/CodeGen/Thumb2/thumb2-sxt_rot.ll
Commit 4a5e1ffcf9b8fe2f57112aca2f0223b4a9c8773b by llvm-dev
[ARM] Regenerate sxt_rot.ll tests
The file was modifiedllvm/test/CodeGen/ARM/sxt_rot.ll
Commit fc981cedea073519e25af04bcf85c50cb37cc2c9 by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/Target/ARM/Thumb1FrameLowering.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430FrameLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEFrameLowering.cpp
The file was modifiedllvm/lib/Target/Mips/Mips16FrameLowering.cpp
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
Commit c133fb321f7ca6083ce15b6aa5bf89de6600e649 by kazu
[CodeGen] Use llvm::is_contained (NFC)
The file was modifiedllvm/lib/CodeGen/LiveRangeEdit.cpp
Commit 6f9cceb7751a6afdbf900d7dd7f84f9a5ce1c24d by jpienaar
[mlir] Move trait to InferTypeOpInterface

Step towards removing the hard coded behavior for this trait and to instead use common interface.

Differential Revision: https://reviews.llvm.org/D114208
The file was modifiedmlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
The file was modifiedmlir/lib/Dialect/X86Vector/IR/X86VectorDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUDialect.h
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVOps.h
The file was modifiedmlir/include/mlir/Dialect/X86Vector/X86Vector.td
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td
The file was modifiedmlir/lib/Dialect/StandardOps/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.h
The file was modifiedflang/include/flang/Optimizer/Dialect/FIRDialect.td
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantOps.td
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
The file was modifiedmlir/include/mlir/Dialect/X86Vector/X86VectorDialect.h
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/lib/Dialect/LLVMIR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
The file was modifiedmlir/test/Dialect/SPIRV/IR/bit-ops.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
The file was modifiedmlir/include/mlir/Interfaces/InferTypeOpInterface.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/examples/standalone/include/Standalone/StandaloneOps.td
The file was modifiedmlir/include/mlir/Dialect/Math/IR/MathOps.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/test/Dialect/SPIRV/IR/logical-ops.mlir
Commit e5a4d0f1498c51858ee9e6682b235389f500ed15 by jpienaar
[mlir] Fix unused function warning (NFC)

Delete function no longer needed as all derived classes override
printer.
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td