Therefore, if pressure increases, a negative contribution is made on the change in entropy of an ideal gas, but depending on the change in temperature, the actual change in entropy for the system might be positive or negative.
(Regardless, the entropy of the universe is ≥0.)