This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The multiple exit comes bounds checking (which VRP does not remove still
because we don't pull out a load of the length).
If we add -fno-bounds-checks, we get: Test.java:7: note: not vectorized: too many BBs in loop. Test.java:11: note: not vectorized: too many BBs in loop. Test.java:6: note: vectorized 0 loops in function.
And this is because we have a label in the loop (and the tree CFG does not remove user labels, maybe setting DECL_ARTIFICIAL on the labels will fix this fully).
Thanks, Andrew Pinski
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |