[RFC][llvm] Added llvm.loop.vectorize.reassociate_fpreductions.enable metadata. by vzakhari · Pull Request #141685 · llvm/llvm-project (original) (raw)
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
vzakhari marked this pull request as ready for review
vzakhari changed the title
[RFC][llvm] Added llvm.loop.vectorize.reassociation.enable metadata. [RFC][llvm] Added llvm.loop.vectorize.reassociate_fpreductions.enable metadata.
This metadata allows unsafe reassociations of computations during the loop vectorization. For example, it allows vectorizing loops with floating-point reductions without the need to compile the whole function/program with -fassociative-math.