Add a Block::dropAllReferences to drop all references from held instructions...
Add a Block::dropAllReferences to drop all references from held instructions and call it when clearing the block. This fixes a bug where ForInst/IfInst instructions may still have references to values while being destroyed. PiperOrigin-RevId: 229207798
Loading
Please sign in to comment