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

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 29 17:44:29 PST 2019


sbc100 updated this revision to Diff 184212.
sbc100 added a comment.

revert


Repository:
  rL LLVM

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

https://reviews.llvm.org/D57430

Files:
  include/llvm/Support/CodeGen.h


Index: include/llvm/Support/CodeGen.h
===================================================================
--- include/llvm/Support/CodeGen.h
+++ 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.184212.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190130/bf2e7ba7/attachment.bin>


More information about the llvm-commits mailing list