r217104 - Adjust test to handle fallout from r217102.
David Majnemer
david.majnemer at gmail.com
Wed Sep 3 16:20:58 PDT 2014
Author: majnemer
Date: Wed Sep 3 18:20:58 2014
New Revision: 217104
URL: http://llvm.org/viewvc/llvm-project?rev=217104&view=rev
Log:
Adjust test to handle fallout from r217102.
Modified:
cfe/trunk/test/Misc/backend-optimization-failure.cpp
Modified: cfe/trunk/test/Misc/backend-optimization-failure.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/backend-optimization-failure.cpp?rev=217104&r1=217103&r2=217104&view=diff
==============================================================================
--- cfe/trunk/test/Misc/backend-optimization-failure.cpp (original)
+++ cfe/trunk/test/Misc/backend-optimization-failure.cpp Wed Sep 3 18:20:58 2014
@@ -6,8 +6,8 @@
void test_switch(int *A, int *B, int Length) {
#pragma clang loop vectorize(enable) unroll(disable)
- for (int i = 0; i < Length; i++) {
- /* expected-warning {{loop not vectorized: failed explicitly specified loop vectorization}} */ switch (A[i]) {
+ /* expected-warning {{loop not vectorized: failed explicitly specified loop vectorization}} */ for (int i = 0; i < Length; i++) {
+ switch (A[i]) {
case 0:
B[i] = 1;
break;
More information about the cfe-commits
mailing list