diff options
author | ShivaChen <32083954+ShivaChen@users.noreply.github.com> | 2025-10-21 09:49:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-21 09:49:07 +0800 |
commit | 69d97a6531bb36d620775159308915884b26eae6 (patch) | |
tree | be22e3983ab95fc17414759404327331a6f6421b /llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp | |
parent | 9c3ed5a389ce04c78d9738c3a7537ff9c702f420 (diff) | |
download | llvm-69d97a6531bb36d620775159308915884b26eae6.zip llvm-69d97a6531bb36d620775159308915884b26eae6.tar.gz llvm-69d97a6531bb36d620775159308915884b26eae6.tar.bz2 |
[mlir][tosa] Remove Tosa MulOp Commutative attribute (#163312)
The patch motivates by following cases in Tosa Conformance Test.
conformance/operators/ew_binary/mul/mul_21x44_i8_perm0_shift0_dyn
conformance/operators/ew_binary/mul/mul_44x57_i16_perm0_shift0_dyn
conformance/operators/ew_binary/mul/mul_52x31_i32_perm0_shift8_dyn
Shift operand could be non-constant when dynamic extension enabled. With
Commutative attribute, all the operands would be treated as commutative.
Shift operand could be reordered with one of the MulOp inputs
incorrectly in above cases.
Would there have better way to fix the issue?
Diffstat (limited to 'llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp')
0 files changed, 0 insertions, 0 deletions