[VPlan] Move test strs to variables, silence spurious C4129 (NFC).
authorFlorian Hahn <flo@fhahn.com>
Tue, 31 Mar 2020 12:15:10 +0000 (13:15 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 31 Mar 2020 12:18:15 +0000 (13:18 +0100)
commit6120cb42f7977290fac7a8ae1a7c06fc79beb5dc
tree50f9280a487d612455f1c76ccd296158e635752b
parent2539b4ae4765b14cd7774e801ba12f0a200ef734
[VPlan] Move test strs to variables, silence spurious C4129 (NFC).

This is a speculative fix to silence the spurious C4129 warning that
some version of MSVC generate for the raw string literals in the changed
files.

Before disabling the warning (D76428), try a potential fix suggested in
the review.
llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp