This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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 lines marked with '*' are the new source lines I added that solved the
problem and allowed the vectorized code to pass the verifiers.
The lines marked with '->' are not required in order to successfully pass
verify_ssa, but update the may-aliases and result in vector loads/stores
that have vdefs/vuses. However, I did not find an API exposed out side of
tree-dfa.c that lets you create new mem-tags and compute may-aliases on
demand; so for now I called compute_may_aliases(), which resulted in over
conservative vdefs/vuses - the pointers I created ended-up aliasing all the
arrays in the function,
whereas if I could explicitely set their may-alias set in the vectorizer I would make each pointer alias only the array it points to. Is there an API that lets you do that?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |