[all-commits] [llvm/llvm-project] 849f81: [mlir] Fix ConstantOp verifier
Marius Brehler via All-commits
all-commits at lists.llvm.org
Thu Mar 11 23:50:22 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 849f8183fb99acab43336eb1a576a142b2e35570
https://github.com/llvm/llvm-project/commit/849f8183fb99acab43336eb1a576a142b2e35570
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
M mlir/test/Dialect/Standard/invalid.mlir
Log Message:
-----------
[mlir] Fix ConstantOp verifier
This restricts the attributes to integers for constants of type
IndexType. So far an attribute like StringAttr as in
%c1 = constant "" : index
is valid.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D98216
More information about the All-commits
mailing list