[PATCH] D34846: Remove Clang support for '-fvectorize-slp-aggressive' which used LLVM's basic block vectorizer. This vectorizer has had no known users for many, many years and is completely surpassed by the normal '-fvectorize-slp'-controlled SLP vectorizer in LLVM.

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 29 16:35:58 PDT 2017


hfinkel accepted this revision.
hfinkel added a comment.

LGTM, but you need to get the:

  def fslp_vectorize_aggressive : Flag<["-"], "fslp-vectorize-aggressive">, Group<f_Group>,
    HelpText<"Enable the BB vectorization passes">;
  def fno_slp_vectorize_aggressive : Flag<["-"], "fno-slp-vectorize-aggressive">, Group<f_Group>;

in include/clang/Driver/Options.td as well. There's corresponding code in lib/Driver/ToolChains/Clang.cpp:

  // -fno-slp-vectorize-aggressive is default.
  if (Args.hasFlag(options::OPT_fslp_vectorize_aggressive,
                   options::OPT_fno_slp_vectorize_aggressive, false))
    CmdArgs.push_back("-vectorize-slp-aggressive");


https://reviews.llvm.org/D34846





More information about the cfe-commits mailing list