Inline a string used in lambda function to fix capture error
authorLei Zhang <antiagainst@google.com>
Tue, 7 May 2019 21:03:15 +0000 (14:03 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 11 May 2019 02:23:49 +0000 (19:23 -0700)
commit323e1bf7f8ea434e6fac6ae868daf5c9af96cc61
treee0df77c084a68fdddcb898fd719f7847094fa1e8
parentcffed537a1b8a82b10eacf2aa1088f7b8359edbb
Inline a string used in lambda function to fix capture error

    The string was referenced but not captured in the lambda, which causes
    a failure when compiling with MSVC.

    This issue was discovered by @loic-joly-sonarsource with a proposed fix
    in https://github.com/tensorflow/mlir/pull/22.

--

PiperOrigin-RevId: 247085897
mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp