Nadav Rotem
3f7c4f36ba
LoopVectorizer: Optimize the vectorization of consecutive memory access when the iteration step is -1
...
llvm-svn: 171114
2012-12-26 19:08:17 +00:00
Nadav Rotem
28408a20c9
whitespace
...
llvm-svn: 170626
2012-12-20 00:49:56 +00:00
Benjamin Kramer
e300004bd5
LoopVectorize: Make iteration over induction variables not depend on pointer values.
...
MapVector is a bit heavyweight, but I don't see a simpler way. Also the
InductionList is unlikely to be large. This should help 3-stage selfhost
compares (PR14647).
llvm-svn: 170528
2012-12-19 11:09:15 +00:00
Nadav Rotem
36510f7194
Teach the cost model about the optimization in r169904: Truncation of induction variables costs the same as scalar trunc.
...
llvm-svn: 170051
2012-12-13 00:21:03 +00:00
Nadav Rotem
aeb17df802
LoopVectorizer: When -Os is used, vectorize only loops that dont require a tail loop. There is no testcase because I dont know of a way to initialize the loop vectorizer pass without adding an additional hidden flag.
...
llvm-svn: 169950
2012-12-12 01:11:46 +00:00
Nadav Rotem
07df5ac1a1
Split the LoopVectorizer into H and CPP.
...
llvm-svn: 169771
2012-12-10 21:39:02 +00:00