Tags: opencompl/lean-mlir
Tags
fix: stop swallowing LLVM status code on evaluation CI failure (#1628) Previously the CI would be green even if the script raised an error, because our script would swallow the non-zero status code in the code that persisted the error to the environment, so we ensure that the second branch also exits with a non-zero code.
feat: rewritePeepholeRecursively (#410) @tobiasgrosser spotted that 'rewritePeephole' only works at one level of the IR, and will not recurse into regions. We write a variant ('rewritePeepholeRecursively'). This first calls 'rewritePeephole' on the 'Com'. Then, it recurses into each let-binding of the 'Com' to call 'rewritePeepholeRecursively' on all region arguments. This ensures that the rewrite is applied to all occurrences of the lhs in all (nested) regions. This supercedes #408
feat: rewritePeepholeRecursively (#410) @tobiasgrosser spotted that 'rewritePeephole' only works at one level of the IR, and will not recurse into regions. We write a variant ('rewritePeepholeRecursively'). This first calls 'rewritePeephole' on the 'Com'. Then, it recurses into each let-binding of the 'Com' to call 'rewritePeepholeRecursively' on all region arguments. This ensures that the rewrite is applied to all occurrences of the lhs in all (nested) regions. This supercedes #408