Usually, a UPS will have built-in voltage regulator. If such case, a spike-guard is not necessary.
Check your UPS manual whether it mention voltage/current protections. If so, you can use it without a spike guard.
FWIW, I am using a desktop since years, directly connected to APC UPS, without any...