[PATCH] D60676: [NewPM] Add Option handling for SimpleLoopUnswitch

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 22:54:20 PDT 2019


fedor.sergeev added inline comments.


================
Comment at: lib/Passes/PassBuilder.cpp:1494
+Expected<bool> parseLoopUnswitchOptions(StringRef Params) {
+  bool Result;
+  while (!Params.empty()) {
----------------
there should be default initialization for Result.


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

https://reviews.llvm.org/D60676





More information about the llvm-commits mailing list