KhronosGroup/SPIRV-LLVM

Replace eraseUselessFunctions with a more specific one

yxsamliu opened this issue · 0 comments

eraseUselessFunctions erases all function declarations with no use. This is too generic and may not be user's intention. Should be replaced with a more specific one which only erase useless functions generated by converter.