getVectorizablePrefix previously didn't work properly in the face of
aliasing loads/stores. It unwittingly assumed that the loads/stores
appeared in the BB in address order. If they didn't, it would do the
wrong thing.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp | ||
---|---|---|
455 | Nit: %s/OK/No[Interfering]Alias[Found] if(AliasFound) ... |
Comment Actions
Rename 'OK' variable.
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp | ||
---|---|---|
455 | Much better, thanks. |
Nit: %s/OK/No[Interfering]Alias[Found]
Better yet, reverse the condition to AliasFound = false; and check below