SPIRV-Tools/source/link
Steven Perron 65046eca7c Change IRContext::KillInst to delete instructions.
The current method of removing an instruction is to call ToNop.  The
problem with this is that it leaves around an instruction that later
passes will look at.  We should just delete the instruction.

In MemPass there is a utility routine called DCEInst.  It can delete
essentially any instruction, which can invalidate pointers now that they
are actually deleted.  The interface was changed to add a call back that
can be used to update any local data structures that contain
ir::Intruction*.
2017-12-04 11:07:45 -05:00
..
CMakeLists.txt Test for pollution of the global namespace 2017-11-23 21:27:21 -05:00
linker.cpp Change IRContext::KillInst to delete instructions. 2017-12-04 11:07:45 -05:00