search for: intptrcleanup

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

Did you mean: inttoptrcleanup
2017 Jun 17
5
LoopVectorize fails to vectorize loops with induction variables with PtrToInt/IntToPtr conversions
...nsider inttoptr/ptrtoint as no-op, and does not handle them. The thing is that, in our case, the GEP in %23 is thus not analyzed by SCEV, and the PHI %16 is thus not considered as an induction variable. To confirm this hypothesis, I created a small out-of-tree pass (https://github.com/aguinet/llvm-intptrcleanup) which registers before loop vectorization and does the following: * first, it search for phi nodes who have those properties: - every incoming value of the phi node is a ptrtoint instruction. The original pointer type of every ptrtoint instruction must be the same type T. - every user of this...