[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / opt-viewer / Inputs / basic / or.h
bloba1c47edb3d121395b2ed1e856074dca36496aee0
1 void TestH(int *res, int *c, int *d, int *p, int n) {
2 int i;
4 #pragma clang loop vectorize(assume_safety)
5 for (i = 0; i < 1600; i++) {
6 res[i] = (p[i] == 0) ? res[i] : res[i] + d[i];
9 for (i = 0; i < 16; i++) {
10 res[i] = (p[i] == 0) ? res[i] : res[i] + d[i];
13 foo();
15 foo(); bar(); foo();