mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-27 15:28:53 -04:00

Found via codespell -q 3 -I ../clang-whitelist.txt Where whitelist consists of: archtype cas classs checkk compres definit frome iff inteval ith lod methode nd optin ot pres statics te thru Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few files that have dubious fixes reverted.) Differential revision: https://reviews.llvm.org/D44188 llvm-svn: 329399
22 lines
569 B
C++
22 lines
569 B
C++
// RUN: %clang_cc1 %s -ast-print -o - | FileCheck %s
|
|
|
|
// FIXME: Test fails because attribute order is reversed by ParsedAttributes.
|
|
// XFAIL: *
|
|
|
|
void run1(int *List, int Length) {
|
|
int i = 0;
|
|
// CHECK: #pragma loop vectorize(4)
|
|
// CHECK-NEXT: #pragma loop interleave(8)
|
|
// CHECK-NEXT: #pragma loop vectorize(enable)
|
|
// CHECK-NEXT: #pragma loop interleave(enable)
|
|
#pragma loop vectorize(4)
|
|
#pragma loop interleave(8)
|
|
#pragma loop vectorize(enable)
|
|
#pragma loop interleave(enable)
|
|
// CHECK-NEXT: while (i < Length)
|
|
while (i < Length) {
|
|
List[i] = i;
|
|
i++;
|
|
}
|
|
}
|