[llvm] [VectorCombine] Preserves the maximal legal FPMathFlags during foldShuffleToIdentity (PR #94295)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 00:19:57 PDT 2024


https://github.com/davemgreen commented:

Thanks for adding this, that is one thing off my todo list. It should probably have been added earlier in hind-sight.

There are other flags that we might be beneficial to add too. I added some comments below but could this make use of propagateIRFlags from the SLP vectorizer to handle both the flags and the metadata?

https://github.com/llvm/llvm-project/pull/94295


More information about the llvm-commits mailing list