2 ms·
I agree that it would be rare for a memset() used for initialization to be removed, but this is a good recent paper that gives lots of examples of when stores a
by nkurz 8y ago
I agree that it would be rare for a memset() used for initialization to be removed, but this is a good recent paper that gives lots of examples of when stores are eliminated in practice:
Dead Store Elimination (Still) Considered Harmful
https://cseweb.ucsd.edu/~klevchen/yjoll-usesec17.pdf https://cseweb.ucsd.edu/~klevchen/yjoll-usesec17.pdf