[llvm-branch-commits] [cfe-branch] r223703 - Merging r217104:

David Majnemer david.majnemer at gmail.com
Mon Dec 8 14:26:56 PST 2014


Author: majnemer
Date: Mon Dec  8 16:26:56 2014
New Revision: 223703

URL: http://llvm.org/viewvc/llvm-project?rev=223703&view=rev
Log:
Merging r217104:
------------------------------------------------------------------------
r217104 | majnemer | 2014-09-03 16:20:58 -0700 (Wed, 03 Sep 2014) | 1 line

Adjust test to handle fallout from r217102.
------------------------------------------------------------------------

Modified:
    cfe/branches/release_35/test/Misc/backend-optimization-failure.cpp

Modified: cfe/branches/release_35/test/Misc/backend-optimization-failure.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_35/test/Misc/backend-optimization-failure.cpp?rev=223703&r1=223702&r2=223703&view=diff
==============================================================================
--- cfe/branches/release_35/test/Misc/backend-optimization-failure.cpp (original)
+++ cfe/branches/release_35/test/Misc/backend-optimization-failure.cpp Mon Dec  8 16:26:56 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 llvm-branch-commits mailing list