search for: 0david

Displaying 2 results from an estimated 2 matches for "0david".

Did you mean: david
2019 Mar 28
2
Why does LLVM keep some loads in the loops even after applying the O3 optimization?
...> r0 gets overwritten inside the loop (assuming dst, src, src), is ldr > r0, [r5] needed to initialize r0 for the loop at each iteration? Register allocation should handle that if the load is hoisted. I'm with the others. The printf is the most likely culprit. -0David > On Thu, Mar 28, 2019 at 10:17 AM Fami H via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hello all, > > I am looking at the assembly code of a loop body which is created by applying O3 optimization. Here it is: > > .LBB4_19: @ %for...
2019 Mar 28
3
Why does LLVM keep some loads in the loops even after applying the O3 optimization?
Hello all, I am looking at the assembly code of a loop body which is created by applying O3 optimization. Here it is: .LBB4_19: @ %for.body.91 @ =>This Inner Loop Header: Depth=1 ldr r0, [r5] mov r1, r8 add r0, r0, r7 vldr s0, [r0] mov r0, r6 vcvt.f64.f32 d0, s0 vmov