[PATCH] D141968: [NFC] Consolidate llvm::CodeGenOpt::Level handling

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 15:06:17 PST 2023


arsenm added inline comments.


================
Comment at: llvm/include/llvm/Support/CodeGen.h:57
+  /// Code generation optimization level.
+  enum Level : IDType {
+    None = 0,      ///< -O0
----------------
scott.linder wrote:
> This is ABI breaking, so maybe we don't want/need to define the underlying type?
This isn't in the C API, and this isn't for a release branch so I don't think it matters


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141968



More information about the llvm-commits mailing list