[llvm-dev] SCEV on vector element

Darshan Bhat via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 3 06:06:40 PDT 2021


Is it possible to get a meaningful SCEV expression on a vector element ?

I am having a vector and I am extracting an element using "extractelement"
instruction like below :
 %2 = extractelement <5 x i32> %vecins32, i32 0

The extracted value will be a scalar. This value is being set in each
iteration of a loop. I want to see how this value is getting incremented.

Is it possible to run Scalar Evolution analysis on this and get a
meaningful SCEV expression ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211103/751aeed1/attachment.html>


More information about the llvm-dev mailing list