To rephrase the question, it’s obvious, probably to the OP, that layoffs cut immediate costs. But I think they’re really asking do they help the company.
Long term does company A that tends to layoff frequently vs company B that tends to avoid layoffs and cut costs some other way - is there a difference in medium and long term performance?