[llvm] [LoopVectorize] Add llvm.loop.vectorize.fp_reordering.{enable,disable} metadata (PR #219167)

Karthika Devi C via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 04:56:11 PDT 2026


kartcq wrote:

> > This is the infrastructure patch for a proper long-term fix for #205756.
> 
> To double check, is the plan to have clang emit this metadata to preserve the existing behavior for Clang?

---
The plan is to have Polly emit fp_reordering.disable when it detects that force vectorization may lead to correctness issues with FP reordering. The existing solution is to entirely prevent vectorization for those cases. With this infrastructure in place, we can disable only reordering instead.
Please refer https://github.com/llvm/llvm-project/pull/205756

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


More information about the llvm-commits mailing list