If you're gonna shoot IDPA, I'd stick with your .40S&W gun - you can't use the extra rounds you'd be able to fit in a hi-cap 9mm mag(10 rds per mag for competition), and round counts are usually low enough(18 rds max per stage) that any cost savings on ammo should be negligible in the short run.
You don't wanna go with light-loaded .40S&W ammo, as it might not function your gun reliably - and, if you're serious enough about IDPA to shoot in a major state/regional match, expect to have your match ammo test-fired over a chronograph to ensure it meets mimimum Power Factor standards(IDPA Stock Service Pistol: (Bullet Weight X Velocity) / 1000 => 125). Local/club-level matches usually aren't that formal, though.
Another ammo-related issue - often stages will include steel-plate knockdown targets, and .40's usually drop the steel faster than 9mm, which sometimes requires multiple hits to knock down a Pepper Popper, depending on how it's adjusted.
If you'd like to try IPSC and shoot in "Limited 10" or Production Class, there's no advantage to 9mm & hi-cap mags either, since you're also limited to 10 rds per mag, AND you'll be disadvantaged in scoring by shooting Minor Power Factor ammo - peripheral hits with 9mm Minor ammo score less than the same hits with .40S&W Major ammo. Basically, you gotta shoot straighter than AND as fast as the .45/.40 guys to get the same scores they do. If you decide to compete in Limited or Open class, where you CAN use hi-cap mags, you'd be running a stock 9mm P99 against top-flight shooters with super-tuned 1911s using 17+ rd mags - sure, it could be fun, but it would also probably be a humbling experience.
So, on balance, I'd recommend against buying another 9mm gun solely for match use.