[all-commits] [llvm/llvm-project] f6faa7: [mlir] fix a crash if the dialect is missing a dat...
ftynse via All-commits
all-commits at lists.llvm.org
Wed Jun 9 08:46:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f6faa71eafbcd52d5154aadf888fce8b3af73c16
https://github.com/llvm/llvm-project/commit/f6faa71eafbcd52d5154aadf888fce8b3af73c16
Author: Alex Zinenko <zinenko at google.com>
Date: 2021-06-09 (Wed, 09 Jun 2021)
Changed paths:
M mlir/lib/Interfaces/DataLayoutInterfaces.cpp
M mlir/test/Interfaces/DataLayoutInterfaces/types.mlir
Log Message:
-----------
[mlir] fix a crash if the dialect is missing a data layout interface
The top-level verifier of data layout specifications delegates verification of
entries with identifier keys to the dialect of the identifier prefix. This flow
was missing a check whether the dialect actually implements the relevant
interface.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D103945
More information about the All-commits
mailing list