diff options
| author | Aditya Kumar <hiraditya@msn.com> | 2017-08-20 10:32:41 +0000 |
|---|---|---|
| committer | Aditya Kumar <hiraditya@msn.com> | 2017-08-20 10:32:41 +0000 |
| commit | a525fffd0713361c3ccfc679b3b105a3eb4559d1 (patch) | |
| tree | 82b667df1004e15547fe49d99500ce1ee45e4b31 /llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll | |
| parent | d5b56a8619bd0d8fee3ead9541e02cfe070e032d (diff) | |
| download | bcm5719-llvm-a525fffd0713361c3ccfc679b3b105a3eb4559d1.tar.gz bcm5719-llvm-a525fffd0713361c3ccfc679b3b105a3eb4559d1.zip | |
[Loop Vectorize] Added a separate metadata
Added a separate metadata to indicate when the loop
has already been vectorized instead of setting width and count to 1.
Patch written by Divya Shanmughan and Aditya Kumar
Differential Revision: https://reviews.llvm.org/D36220
llvm-svn: 311281
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll')
| -rw-r--r-- | llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll b/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll index a6f35e2b0ce..de605cba9ea 100644 --- a/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll +++ b/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll @@ -24,7 +24,7 @@ ; for (int i = 0; i < Length; i++) ; A[i] = i; ; } -; CHECK: remark: source.cpp:13:5: loop not vectorized: vectorization and interleaving are explicitly disabled, or vectorize width and interleave count are both set to 1 +; CHECK: remark: source.cpp:13:5: loop not vectorized: vectorization and interleaving are explicitly disabled, or the loop has already been vectorized ; void test_array_bounds(int *A, int *B, int Length) { ; #pragma clang loop vectorize(enable) @@ -71,7 +71,7 @@ ; YAML-NEXT: DebugLoc: { File: source.cpp, Line: 13, Column: 5 } ; YAML-NEXT: Function: _Z13test_disabledPii ; YAML-NEXT: Args: -; YAML-NEXT: - String: 'loop not vectorized: vectorization and interleaving are explicitly disabled, or vectorize width and interleave count are both set to 1' +; YAML-NEXT: - String: 'loop not vectorized: vectorization and interleaving are explicitly disabled, or the loop has already been vectorized ; YAML-NEXT: ... ; YAML-NEXT: --- !Analysis ; YAML-NEXT: Pass: '' |

