[llvm] [LoopFusion] Do not fuse loops containing convergent operations (PR #203460)

Madhur Amilkanthwar via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 21:55:57 PDT 2026


madhur13490 wrote:

> @madhur13490 I am fairly confident that convergent operations are not a problem for loop fusion. for example see the comment in test file in this PR: #207047
> 
> we don't have a problem as long as threads that execute the convergent operation before and after the transformation don't change.

I am not fully convinced for the reasons mentioned in https://github.com/llvm/llvm-project/pull/203460#discussion_r3472197507.

I am abandoning this for now, let's revisit this later.

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


More information about the llvm-commits mailing list