[all-commits] [llvm/llvm-project] 83892d: Print custom assembly on pass failure by default
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Tue Apr 19 10:34:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 83892d76f460402b45729e10b2219563b01d71b4
https://github.com/llvm/llvm-project/commit/83892d76f460402b45729e10b2219563b01d71b4
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2022-04-19 (Tue, 19 Apr 2022)
Changed paths:
M mlir/lib/Pass/IRPrinting.cpp
A mlir/test/Pass/invalid-ir-print-after-failure.mlir
M mlir/test/Pass/ir-printing.mlir
M mlir/test/lib/Pass/TestPassManager.cpp
Log Message:
-----------
Print custom assembly on pass failure by default
The printer is now resilient to invalid IR and will already automatically
fallback to the generic form on invalid IR. Using the generic printer on
pass failure was a conservative option before the printer was made
failsafe.
Reviewed By: lattner, rriddle, jpienaar, bondhugula
Differential Revision: https://reviews.llvm.org/D123915
More information about the All-commits
mailing list