1 | // RUN: %clang_cc1 -emit-llvm %s -o - | grep noalias |
---|---|
2 | |
3 | void foo(int * __restrict myptr1, int * myptr2) { |
4 | myptr1[0] = 0; |
5 | myptr2[0] = 0; |
6 | } |
7 |
1 | // RUN: %clang_cc1 -emit-llvm %s -o - | grep noalias |
---|---|
2 | |
3 | void foo(int * __restrict myptr1, int * myptr2) { |
4 | myptr1[0] = 0; |
5 | myptr2[0] = 0; |
6 | } |
7 |