[Mlir-commits] [mlir] [MLIR][Transform] Add attribute in MatchOp to filter by operand type (PR #67994)
Pablo Antonio Martinez
llvmlistbot at llvm.org
Mon Dec 4 07:51:00 PST 2023
pabloantoniom wrote:
> Sorry for the delay.
Thanks for your time. Apart from the fixes, I have added a few more test cases to show different scenarios:
- 1st test: It works for a single specified type with a target op with a single operand
- 2nd test: It works for a single specified type with a target op with multiple operands (all operands must be of the specified type)
- 3th test: It does not match a non-matching type with a target op with a single operand
- 4th test: It does not match a non-matching type with a target op with multiple operands (one operand matches but the other does not)
- 5th test: It reports an error when the length of the specified types does not match the number of the operands in the target op
https://github.com/llvm/llvm-project/pull/67994
More information about the Mlir-commits
mailing list