diff options
author | Jack Frankland <jack.frankland@arm.com> | 2025-06-25 15:14:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-25 15:14:55 +0100 |
commit | 022e1e99f3b017ac1baf8b65f5a48212c5fca2ae (patch) | |
tree | e867262feeaf526bc6e42b3c4812632bf23af5d3 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | d76fdf7f536c45adc08bdbeaf8b78439d604faf5 (diff) | |
download | llvm-022e1e99f3b017ac1baf8b65f5a48212c5fca2ae.zip llvm-022e1e99f3b017ac1baf8b65f5a48212c5fca2ae.tar.gz llvm-022e1e99f3b017ac1baf8b65f5a48212c5fca2ae.tar.bz2 |
[mlir][memref]: Fix Bug in GlobalOp Verifier (#144900)
When comparing the type of the initializer in a `memref::GlobalOp`
against its result only consider the element type and the shape. Other
attributes such as memory space should be ignored since comparing these
between tensors and memrefs doesn't make sense and constructing a memref
in a specific memory space with a tensor that has no such attribute
should be valid.
Signed-off-by: Jack Frankland <jack.frankland@arm.com>
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions