Optimizer: Handle array type with OpSpecConstantOp length (#2652)
When it's an OpConstant or OpSpecConstant, then the literal values are compared. If the OpSpecConstant also has a SpecId decoration, then that's also compared. Otherwise, it's an OpSpecConstantOp and we only compare the ID of the OpSpecConstantOp instruction itself. Fixes #2649
Loading
Please register or sign in to comment