SuccessChanges

Summary

  1. [Statepoints] Properly handle const base pointer. (details)
  2. [MLIR] Add debug support for ignored patterns (details)
Commit 2a52c3301a5254d4614401b4aa12ab7c841d7340 by dantrushin
[Statepoints] Properly handle const base pointer.

Current code in InstEmitter assumes all GC pointers are either
VRegs or stack slots - hence, taking only one operand.
But it is possible to have constant base, in which case it
occupies two machine operands.

Add a convinience function to StackMaps to get index of next
meta argument and use it in InsrEmitter to properly advance to
the next statepoint meta operand.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D87252
The file was modifiedllvm/lib/CodeGen/StackMaps.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/StackMaps.h (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/statepoint-vreg.ll (diff)
Commit 6a494e117cd99fc5b4c728d9f5a78ae817f93434 by frgossen
[MLIR] Add debug support for ignored patterns

The rewrite engine's cost model may determine some patterns to be irrelevant
ahead of their application. These patterns were silently ignored previously and
now cause a message in `--debug` mode.

Differential Revision: https://reviews.llvm.org/D87290
The file was modifiedmlir/lib/IR/PatternMatch.cpp (diff)