https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223
--- Comment #11 from hubicka at kam dot mff.cuni.cz --- > Xeon(R) Platinum 8358 (IceLake) (64C 128T 512G): > BenchMarks Copies RunTime1 RunTime2 Rate1 Rate2 > Compare > 548.exchange2_r 128 479 913 700 367 -47.57% > > Xeon(R) Gold 6252 (CascadeLake) (48C 96T 192G) > BenchMarks Copies RunTime1 RunTime2 Rate1 Rate2 > Compare > 548.exchange2_r 96 643 1240 391 203 -48.08% I filled in PR103227 to track this problem. There seems to be two issues visible on exchange2. First is that ipa-sra changes order of functions which in which inliner visits them and this makes difference in inlining decisions. Second is that ipa-sra makes some constant propagation info to be lost. With Martin we look into this.