[PATCH] D129352: [CodeGen] Limit building time for CodeGenPrepare

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 5 01:34:34 PDT 2022


LuoYuanke added inline comments.


================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:8222
+          DT.reset();
+          getDT(*BB.getParent());
+          break;
----------------
It seems not necessary to getDT immedately after `DT.reset`. The lazy `getDT` should help on compiling time.


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

https://reviews.llvm.org/D129352



More information about the llvm-commits mailing list