llvm-project
8b87edfa - [InstSimplify] Ignore mask when combinining vp.reverse(vp.reverse). (#171542)

Commit
2 days ago
[InstSimplify] Ignore mask when combinining vp.reverse(vp.reverse). (#171542) The mask doesn't really affect the reverse. It only poisons the masked off elements in the results. It should be ok to ignore the mask if we can eliminate the pair. I don't have a specific use case for this, but it matches what I had implemented in our downstream before the current upstream implementation. Submitting upstream so I can remove the delta in my downstream.
Author
Parents
Loading