[PATCH] D57430: Add enum values to CodeGenOpt::Level

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 29 18:10:39 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL352587: Add enum values to CodeGenOpt::Level (authored by sbc, committed by ).

Repository:
  rL LLVM

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

https://reviews.llvm.org/D57430

Files:
  llvm/trunk/include/llvm/Support/CodeGen.h


Index: llvm/trunk/include/llvm/Support/CodeGen.h
===================================================================
--- llvm/trunk/include/llvm/Support/CodeGen.h
+++ llvm/trunk/include/llvm/Support/CodeGen.h
@@ -49,10 +49,10 @@
   // Code generation optimization level.
   namespace CodeGenOpt {
     enum Level {
-      None,        // -O0
-      Less,        // -O1
-      Default,     // -O2, -Os
-      Aggressive   // -O3
+      None = 0,      // -O0
+      Less = 1,      // -O1
+      Default = 2,   // -O2, -Os
+      Aggressive = 3 // -O3
     };
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57430.184224.patch
Type: text/x-patch
Size: 564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190130/698b5e21/attachment.bin>


More information about the llvm-commits mailing list