I went through this when refreshing the suspension on mine, the 04+ struts have a tab on the side to mount the tiny 04+ sway bar's end links.. The 97-03 style sway bar has end links that go directly to tabs on the 97-03 LCAs.
However, some point after 05 they did go back to the older 97-03 style sway and LCAs for the GXP.
Now, you can order police Impala LCAs that have the same sway bar mounting tab as the 97-03 GPs, and Dorman makes a 33mm solid front sway, P/N 927100 IIRC.
For the rear, there's a slight difference between 97-03 and 04+, the major one being that the 97-03 lateral control arms are shorter than the 04+. In the 04+ they mount slightly closer together in the rear subframe, so the design looks almost identical between the years but it is actually different. The rear sway didn't change, and if you're serious about handling, get an ADDCO rear sway. 22mm solid rear sway is P/N 639, it'll be expensive and take months to actually ship, but it's totally worth it IMO. Or you could get the GMPP rear sway, 18mm, but cheaper and easier to find.
As a comparison, stock the 04 sway bars are 20mm front and 15mm rear, and both hollow. I like solid because it's less likely to rust through at the ends.
If you have any other questions, I suggest
:: Overkill Motorsports :: and looking through the w-body tech page. Lots of good info there.