[PATCH] D146003: [StandardInstrumentations] Verify function doesn't change if analyses are preserved

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 15 09:28:42 PDT 2023


aeubanks added inline comments.


================
Comment at: llvm/lib/Passes/StandardInstrumentations.cpp:1127
+    if (!PassPA.allAnalysesInSetPreserved<AllAnalysesOn<Function>>())
       return;
 
----------------
nikic wrote:
> Hm, aren't we going to skip the CFG check below if only CFGAnalyses are preserved (but not AllAnalyses)?
no longer a worry after D146096


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146003/new/

https://reviews.llvm.org/D146003



More information about the cfe-commits mailing list