search for: sroa_idx5

Displaying 1 result from an estimated 1 matches for "sroa_idx5".

Did you mean: sroa_idx
2016 Jul 04
2
Optimization issues (Alias Analysis?)
...oa.0.0..sroa_idx = getelementptr inbounds %struct.regs, %struct.regs* %0, i32 0, i32 0 store i32 %9, i32* %.sroa.0.0..sroa_idx, align 4 %.sroa.4.0..sroa_idx4 = getelementptr inbounds %struct.regs, %struct.regs* %0, i32 0, i32 1 store i32 %1, i32* %.sroa.4.0..sroa_idx4, align 4 %.sroa.7.0..sroa_idx5 = getelementptr inbounds %struct.regs, %struct.regs* %0, i32 0, i32 2 store i32 %3, i32* %.sroa.7.0..sroa_idx5, align 4 ret void } This is compiled from some cpp just to reproduce the issue. The issue here is that the load isn't eliminated and that the third store isn't directly using...