[PATCH] D69416: [Examples] Add IRTransformations directory to examples.

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 25 11:30:44 PDT 2019


paquette added inline comments.


================
Comment at: llvm/examples/IRTransforms/TutorialSimplifyCFG.cpp:375
+
+  if (!doSimplify_v2(F, DT))
+    return PreservedAnalyses::all();
----------------
Is there any reason that we don't check the version like in the legacy `runOnFunction`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69416





More information about the llvm-commits mailing list