It got approved with 76-22-2, with John McCain and (once again) Barack Obama not voting, but it was modified significantly.
Original Language:
“It is the sense of the Senate . . . (3) that it should be the policy of the United States to combat, contain, and roll back the violent activities and destabilizing influence inside Iraq of the Government of the Islamic Republic of Iran, its foreign facilitators such as Lebanese Hezbollah, and its indigenous Iraqi proxies; [and] (4) to support the prudent and calibrated use of all instruments of United States national power in Iraq, including diplomatic, economic, intelligence, and military instruments, in support of the policy described in paragraph (3) with respect to the Government of the Islamic Republic of Iran and its proxies” (my emphases).
According to Andrew Kent (linked above), this was dropped, though I am not clear if the bolded sections, which are in the original, or the whole paragraphs were dropped.
As it stands, it calls the Iranians bad people, though it does call the Republican Guard a terrorist organization.