[LPM] Stop using the string based preservation API. It is an
[oota-llvm.git] / lib / Transforms / Utils / LowerSwitch.cpp
index 0a1e138e1b31dd8642477e8a37333ab3d707432e..e8e811dd5557c19c69db47ba6627349ccc6c15ca 100644 (file)
@@ -63,7 +63,6 @@ namespace {
     void getAnalysisUsage(AnalysisUsage &AU) const override {
       // This is a cluster of orthogonal Transforms
       AU.addPreserved<UnifyFunctionExitNodes>();
-      AU.addPreserved("mem2reg");
       AU.addPreservedID(LowerInvokePassID);
     }