diff options
Diffstat (limited to 'test/Misc/backend-optimization-failure-nodbg.cpp')
| -rw-r--r-- | test/Misc/backend-optimization-failure-nodbg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Misc/backend-optimization-failure-nodbg.cpp b/test/Misc/backend-optimization-failure-nodbg.cpp index 3c3264601424..1e847185e81c 100644 --- a/test/Misc/backend-optimization-failure-nodbg.cpp +++ b/test/Misc/backend-optimization-failure-nodbg.cpp @@ -4,7 +4,7 @@ // Test verifies optimization failures generated by the backend are handled // correctly by clang. LLVM tests verify all of the failure conditions. -void test_switch(int *A, int *B, int Length) { +void test_switch(int *A, int *B, int Length) { /* expected-warning {{loop not vectorized: failed explicitly specified loop vectorization}} */ #pragma clang loop vectorize(enable) unroll(disable) for (int i = 0; i < Length; i++) { switch (A[i]) { @@ -18,4 +18,4 @@ void test_switch(int *A, int *B, int Length) { B[i] = 3; } } -/* expected-warning {{loop not vectorized: failed explicitly specified loop vectorization}} */ } +} |
