There were tons of cameos in The Last Jedi. There were also a bunch of deleted scenes. This story marries both together to live in loving harmony until the end of time (should be about two weeks from now).
We know Tom Hardy filmed a cameo in The Last Jedi. Over at /Film, they have an exhaustive article detailing scenes that were cut from the film and one details that cameo:
Actor Tom Hardy originally had a cameo as a First Order stormtrooper in this sequence. A group of stormtroopers get in the elevator and our heroes are nervous they are going to get caught. One of the stormtroopers slowly turns to Finn and gives him a look. Finn turns around in his Imperial officer uniform and asks him what his problem is. The stormtrooper, played by Hardy with a southern accent, says “I know who you are…. FN 2187! Damn boy, I never took you for officer material!” The tension is cut by the reveal that the two grew up together, but the troopers are somehow unaware of FN’s treason.
While I love Tom Hardy and regret the world was robbed of a Stormtrooper with a Southern accent, I also have a hard time picturing this as anything other than a weird mismatch with the rest of the film and kind of understand why Rian Johnson cut it. Having said all that, this BETTER get released at some point, just so we can hear that damn accent.