search for: inttoptrcleanup

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

Did you mean: intptrcleanup
2017 Jun 17
5
LoopVectorize fails to vectorize loops with induction variables with PtrToInt/IntToPtr conversions
...t I might have missed something!). Please note that this is a quick'n'dirty pass, which hasn't been heavily tested. Using this pass, the previous example is now vectorized correctly by the loop vectorizer. This can be seen by looking at the output of: > $ clang -Xclang -load -Xclang IntToPtrCleanup.so -O2 ./example/op_zip_operator.cpp -S -emit-llvm -o - -std=c++11 The question that remains to me is how this should be correctly fixed: 1) Making SCEV support these no-op (in this case) inttoptr/ptrtoint conversions 2) insert the above transformation at some point in the optimization pipeline 3...