Tries to not count the unnecessary unstructions
The operation counting function was counting the operations for BarrierInstruction
and hitting an error. This commit tries to fix it.
The operation counting function was counting the operations for BarrierInstruction
and hitting an error. This commit tries to fix it.