[PATCH] D120246: [flang][driver] Add support for `--target`/`--triple`

Diana Picus via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 22 19:36:42 PST 2022


rovka added a comment.

Nit: Should we also have a test for print-effective-triple?

Otherwise LGTM, although I'm not sure that -emit-llvm is necessarily something we'd want flang users to be exposed to.



================
Comment at: flang/include/flang/Frontend/TargetOptions.h:20
+/// Options for controlling the target. Currently this is just a placeholder.
+/// In the future we will use this for options to specify various target
+/// options that will affect the generated code e.g.:
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120246



More information about the cfe-commits mailing list