search for: minloop

Displaying 2 results from an estimated 2 matches for "minloop".

Did you mean: mainloop
2019 May 06
2
Vectorizing minimum without function attributes
Thanks for checking this out. I think your second comment on 35538 must be precisely what I'm talking about. I came up with this IR that might be used for testing: ``` define float @minloop(float* nocapture readonly) #0 { top: %1 = load float, float* %0 br label %loop loop: %2 = phi i64 [ %8, %loop ], [ 1, %top ] %3 = phi float [ %7, %loop ], [ %1, %top ] %4 = getelementptr float, float* %0, i64 %2 %5 = load float, float* %4, align 4 %6 = fcmp fast olt float %3, %5 %...
2019 May 04
2
Vectorizing minimum without function attributes
Thanks for the reply. I should say I'm actually working on 6.0, but I don't think this part of the code changed much since. These are traces I made with GDB optimizing a loop with floats and then integers, showing where they diverge: https://gist.github.com/nlw0/58ed9fda8e8944a9cb5e5a20f6038fcf This is the point I believe we need to set the function attribute for the vectorization to work