[all-commits] [llvm/llvm-project] a21986: [MLIR][PDL] Skip over all results in the PDL Bytec...

Jonas Rickert via All-commits all-commits at lists.llvm.org
Tue May 20 23:37:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a21986b152927b368eb9c7516ebeaa0b5fbd3167
      https://github.com/llvm/llvm-project/commit/a21986b152927b368eb9c7516ebeaa0b5fbd3167
  Author: Jonas Rickert <Jonas.Rickert at amd.com>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M mlir/lib/Rewrite/ByteCode.cpp
    M mlir/test/Rewrite/pdl-bytecode.mlir
    M mlir/test/lib/Rewrite/TestPDLByteCode.cpp

  Log Message:
  -----------
  [MLIR][PDL] Skip over all results in the PDL Bytecode if a Constraint/Rewrite failed (#139255)

Skipping only over the first results leads to the curCodeIt pointing to
the wrong location in the bytecode, causing the execution to continue
with a wrong instruction after the Constraint/Rewrite.

Signed-off-by: Rickert, Jonas <Jonas.Rickert at amd.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list