Ehsan Amiri

Results issues of Ehsan Amiri

The issue was initially reported by @kasuga-fj during a discussion on [PR 128782](https://github.com/llvm/llvm-project/pull/128782). For the loop in Example 1 (IR at the end) DA reports incorrect results (most notably it...

miscompilation
loopoptim

We lose `inbounds` flag of GEPs for different reasons during compilation. My primary intention of opening the issue is to gather information and record them here., since I am not...

loopoptim

The purpose of this issue is to document proofs of correctness for tests in dependence analysis. The goal is to make assumptions required for correctness explicit. Given the complexity of...

loopoptim

Current effort to address correctness issues in DA, will inevitably result in missing some loop optimization opportunities. This is evident from the changes in loop fusion and loop unroll and...

loopoptim

Currently loop fusion has two mechanisms for dependence check. One is implemented inside loop fusion and the other one is DA. It makes more sense to rely entirely on DA...

wontfix
loop-fusion

We are working on developing a cost model for loop fusion. The goal is to start with a very simple and conservative cost model. At a high level we need...

loop-fusion

Just to check while I see this: Does LoopFuse handle atomic load/store in the loop correctly? Those also have certain reordering limitations... _Originally posted by @nikic in https://github.com/llvm/llvm-project/pull/192926#discussion_r3116170215_

loop-fusion

You have an interesting testcase and it might be exposing more than one problem. One issue that I noticed is this: You have two guarded loops with different guards. Loop...

loop-fusion

non trivial unswitch would speculate the load in the header of the following loop and move it before the call to `@barrier`. This could potentially be incorrect, if `@barrier` doesn't...

miscompilation
loopoptim

Compiling this test case at 'O3' shows larger than 13x increase in compile time when `-fexperimental-loop-fusion` is added to the command line options. I am currently investigating the root cause...

slow-compile
loop-fusion