[all-commits] [llvm/llvm-project] 9879c5: Expose ScalarizerPass options to C++ (not just com...

bjacob via All-commits all-commits at lists.llvm.org
Mon Mar 14 04:01:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9879c555f21097aee15e73dd25bd89f652dba8ea
      https://github.com/llvm/llvm-project/commit/9879c555f21097aee15e73dd25bd89f652dba8ea
  Author: Benoit Jacob <benoitjacob at google.com>
  Date:   2022-03-14 (Mon, 14 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/Scalarizer.h
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp

  Log Message:
  -----------
  Expose ScalarizerPass options to C++ (not just commandline)

Context: I needed this for https://github.com/google/iree/pull/8474 .
I found that TSan instrumentation expects vector sizes to be <= 16,
and in my project (IREE) we have tests with higher vector sizes.
That left some test functions uninstrumented, resulting in crashes as
instrumented code called into them.

Differential Revision: https://reviews.llvm.org/D121182




More information about the All-commits mailing list