Displaying 1 result from an estimated 1 matches for "_z5func1i".
Did you mean:
_z5func1v
2015 Dec 01
2
LICM doesn't work for IntrReadMem intrinsic function
...e function call 'foo' out of the loop body. However,
after I use "opt test.ll -basicaa -licm -S", the function call 'foo' is
still inside the loop body. Do I misunderstand something here? Any
suggestions are appreciated. Thanks a lot.
; Function Attrs: uwtable
define i32 @_Z5func1i(i32 %a) #0 {
br label %1
; <label>:1 ; preds = %3, %0
%ret.0 = phi i32 [ 0, %0 ], [ %4, %3 ]
%i.0 = phi i32 [ 0, %0 ], [ %5, %3 ]
%2 = icmp slt i32 %i.0, 10
br i1 %2, label %3, label %6
; <label>:3 ;...