Harden -slice-analysis-test MLIR testing pass to check for some invariants
authorMehdi Amini <joker.eph@gmail.com>
Wed, 18 Jan 2023 14:14:33 +0000 (14:14 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 18 Jan 2023 14:16:40 +0000 (14:16 +0000)
commitc114dba3f3e1ccd342bf249b08c94caceb7b776b
tree1542f03926b30edb686bd54514a4f0e9fee22271
parent11a9c05bcbbdc42e182aea0c502a74f4bc626b79
Harden -slice-analysis-test MLIR testing pass to check for some invariants

The pass would assert on some input IR that it didn't expect. Instead
signal a pass failure and properly interupt the flow.

Fixes #60022
mlir/test/lib/IR/TestSlicing.cpp