[PATCH] D123211: [flang][driver] Add support for generating LLVM bytecode files

Emil Kieri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 11 14:05:58 PDT 2022


ekieri accepted this revision.
ekieri added a comment.

One nit/question inline, otherwise LGTM.



================
Comment at: flang/lib/Frontend/FrontendActions.cpp:491
+  // Create and configure `TargetMachine`
+  std::unique_ptr<llvm::TargetMachine> TM;
+
----------------
Is there a reason why use TM.reset instead of initialising TM like you do with os below?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123211



More information about the cfe-commits mailing list