Activate Phyrexian Altar by sacrificing Dogmeat, adding .
When Dogmeat dies, Gift of Immortality triggers, returning Dogmeat to the battlefield from your graveyard.
When Dogmeat enters the battlefield, its first ability triggers, causing you to mill five cards and return Gift of Immortality to your hand from your graveyard.
Cast Gift of Immortality by paying due to Semblance Anvil, attaching it to Dogmeat.
Repeat.
This clever loop transforms Dogmeat, Ever Loyal into a self-sustaining engine by marrying recursion with cost reduction. With Semblance Anvil already discounting your enchantments, casting Gift of Immortality costs next to nothing, allowing you to continually sacrifice Dogmeat to Phyrexian Altar to fund the spell. Every iteration triggers Gift of Immortality to resurrect the canine, while Dogmeat's own entry ability effortlessly mills your library and retrieves the Gift right back to your hand.