Move the GET_SIDE_EFFECT_INFO logic from isInstructionTriviallyDead