You assume that the slaughtering was based on class. I don't think this is true. A lot of the killing was just about maintaining political power, just like in any dictatorship, whatever the official ideology.
You also need to consider what class means. It's basically behaviour: you are upper class if you exploit others. In that lens, it becomes ok to hate the upper class, but the upper class can change, it's not hated based on something inherent to the people that make it up, like "race".
Bullshit.
That the hatred is on the much more versatile axis of class instead of race doesn't make it any less vile. You don't rack up a 20th century record of a bare minimum of 100 million slaughtered without exercising a lot of hatred.