[PATCH] D34831: Fix opt --help ordering of available optimizations.

Erich Keane via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 12:45:17 PDT 2017


erichkeane added inline comments.


================
Comment at: include/llvm/IR/LegacyPassNameParser.h:91
+  static int ValCompare(const PassNameParser::OptionInfo *VT1,
                          const PassNameParser::OptionInfo *VT2) {
+    return VT1->Name.compare(VT2->Name);
----------------
Craig pointed out this line needs to be -1 char, I've fixed it in my local WS, and will get it when I commit.


Repository:
  rL LLVM

https://reviews.llvm.org/D34831





More information about the llvm-commits mailing list