Previously the elements of the notes tuple would be invalid objects when accessed from a diagnostic handler, resulting in a segfault when used. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D129943
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.