OSDN Git Service

[LoopVectorizer] fix test file to not run the entire -O3 pipeline
authorSanjay Patel <spatel@rotateright.com>
Thu, 9 May 2019 13:43:22 +0000 (13:43 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 9 May 2019 13:43:22 +0000 (13:43 +0000)
commit1a7c631eb29b08779afd00529144f5796d7eee0a
treed8451396e3fa971f16b17631922d8713f283130f
parent27e877c837fba5645f949fd007d9575fb35ad92e
[LoopVectorizer] fix test file to not run the entire -O3 pipeline

This test file has a long history of edits from changes outside
of vectorization, and it would happen again with the proposal in
D61726.

End-to-end testing shouldn't be happening in a test file that is
specifically checking for vector masked load/store ops.
Larger-scale testing goes in PhaseOrdering or the test-suite.

I've hopefully preserved the intent by taking what was completely
unoptimized IR in some tests and passing that through the -O1
pipeline. That becomes the input IR, and now we just run the loop
vectorizer and verify that the vector masked ops are produced as
expected.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360340 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/LoopVectorize/X86/masked_load_store.ll