AliasAnalysis must be preserved by definition. But most passes don't inform the pass manager of this, so it invalidates non-Immutable alias passes.
Drive-by add addPreserved<AliasAnalysis>() to all passes in Scalar/ and InstCombine/.
Chandler, I think you said you were going to look at some PassManager trick for this... but I assume that didn't come to anything and this patch isn't invasive anyway.
This allows us to turn on GlobalsModRef by default and it actually be useful.