Neither of the moveset you posted is really good.
Fire Punch is a very niche and bad option. This is because Celesteela and Skarmory are very rare, and the infamous EdgeQuake combo is able to generally cover almost everything neutrally/super-effectively.
As Stone Edge / Rock Tomb + Precipice Blades spares two moveslot, you can fit in Swords Dance, Rock Polish or even Stealth Rock. What you're using really depends on your team, though.
Swords Dance is used on a mixed of hazard setter + wallbreaker, as well as in mixed SD sets.
Swords Dance, when combined with Stealth Rock, allows this Primal Groudon variant to be both a utility entry hazard setter and a wallbreaker at the same time against Defog users such as support Arceus formes, Giratina, and Ho-Oh that would try to remove Stealth Rock.
Setting Stealth Rock on forced switches is ideal. It works out better if the opponent switches to a Defog user such as a support Arceus forme, Ho-Oh, or Giratina, as Primal Groudon can then reveal Swords Dance or Rock Tomb and surprise the opponent, likely putting them into an unfavorable situation where they have to decide between dealing with Primal Groudon and the Stealth Rock it can set.
Rock Polish is also used on the above mentioned mixed sets, when it needs to threaten offensive teams much more, as being able to outspeed eases up any matchup vs offensive teams. Dual Dance with both SD RP is also a set with the EdgeQuake combo.
Rock Polish boosts Primal Groudon's otherwise average Speed tier into an area that only faster boosting attackers can reach. This makes Rock Polish Primal Groudon very scary for opposing offensive teams.
A boost from Swords Dance makes Primal Groudon very difficult to defensively check, leaving only the bulkiest physical walls such as Zygarde-C and Giratina able to stomach a boosted Precipice Blades.
Source
Tl;dr it really depends on what your team needs, and also for the set you provided, you can use both Swords Dance + Rock Polish aka Dual Dance Primal-Groudon!
Groudon @ Red Orb
Ability: Drought
EVs: 252 Atk / 100 SpD / 156 Spe
Adamant Nature
- Rock Polish
- Swords Dance
- Precipice Blades
- Stone Edge
Hope I helped!