[all-commits] [llvm/llvm-project] 7de848: [MLIR] Printing a null Value.
Stanislav Funiak via All-commits
all-commits at lists.llvm.org
Mon Jan 3 18:43:36 PST 2022
Author: Stanislav Funiak <stano at cerebras.net>
Date: 2022-01-04 (Tue, 04 Jan 2022)
[MLIR] Printing a null Value.
This diff adds support to printing a Value when it is null. We encounter this situation when debugging the PDL bytcode execution (where a null Value is perfectly valid). Currently, the AsmPrinter crashes (with an assert in a cast) when it encounters such Value.
We follow the same format used in other printed entities (e.g., null attribute).
Reviewed By: mehdi_amini, bondhugula
Differential Revision: https://reviews.llvm.org/D116084
More information about the All-commits