Have shot hogs over chicken guts and chicken manure. Have seen hogs fed deer guts/hog guts and trimmings. I think a dead hog in the wild is much much more likely to be eaten by coyotes and vultures than by other hogs.
I have no doubt that under certain conditions...hogs would consume the carcass of their same kind. I haven't ever witnessed that happening but they will readily eat carrion. In my case....Coyotes and Buzzards invariably find the carcasses first and devour them. Entire 'large' hogs (well over 200 lbs. completely gone in a couple of days).
I have seen evidence of hogs eating the carcass of a Dead Donkey that I hauled off. For some reason...nothing else would touch it. It sat unmolested for a few days. Then the hogs found it.
I do have a video from one of my cameras of a Sow Hog snatching up a piglet and running off with it. Grabbed it right by the middle and carried it off. I don't know what to make of that. A big group of hogs were all bunched together feeding on a small pile of corn and this Sow comes running in from out of the video frame, snatches up the piglet and runs off with it. I'm not suggesting she mean't to kill/eat it, but I've never seen that before. They normally just knock them out of the way.