[llvm] r185040 - SLP: Dont erase instructions during vectorization because it prevents the outerloops from iterating over the instructions.

Eric Christopher echristo at gmail.com
Wed Jun 26 16:54:32 PDT 2013


So yes on the iterator invalidation? :)

That said, I don't think (I could be wrong) that any other passes
leave RAUW'd instructions around to be cleaned up by subsequent
passes. Is it possible to stick these on a list similar to what you
did with the others to remove after you're done vectorizing the
function?

-eric

On Wed, Jun 26, 2013 at 4:50 PM, Nadav Rotem <nrotem at apple.com> wrote:
> We have dead code.   But DCE runs right after the SLP.
>
> On Jun 26, 2013, at 4:47 PM, Eric Christopher <echristo at gmail.com> wrote:
>
>
>
> Iterator invalidation or something else? Do you have something
> deleting these or do we just have dead code after the vectorizer?
>
>



More information about the llvm-commits mailing list