search for: func_manually_transform

Displaying 1 result from an estimated 1 matches for "func_manually_transform".

2018 Jun 11
2
LoopVectorize fails to vectorize code with condition on reduction
...v 334367, from Jun 10 2018. Could you please tell me why do you think LoopVectorize is not being able to vectorize the above C code. BTW, I was hoping that LoopVectorize can change the code to be amenable to simple if-conversion like the following C code manually transformed: void Func_manually_transformed(int N) { int numSol = 0; for (int c = 0; c < N; c++) { if (colOccupied[c] == 0) select[c] = 1; else select[c] = 0; numSol += select[c]; } return numSol; } Note that this man...