Skip to content
Unverified Commit d01a3c3b authored by David Neto's avatar David Neto Committed by GitHub
Browse files

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
parent 4a00a80c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment