[TOSA] Loosen folding restrictions for tosa.add,tosa.sub, tosa.mul
Allow folding of different tensor types when the constant tensor is broadcast. Removed redundant and incorrect AddZero and MulOne canonical optimizations. Reviewed By: rsuderman, eric-k256 Differential Revision: https://reviews.llvm.org/D145738
Loading
Please sign in to comment