Displaying 2 results from an estimated 2 matches for "cb989800".
2015 Dec 01
2
LICM doesn't work for IntrReadMem intrinsic function
Hi, All,
Suppose I define one memory read only intrinsic function "foo" in
Intrinsics.td like this
def int_foo : Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty],
[IntrReadMem]>;
Suppose I have the following IR, which means the intrinsic function "foo"
is called 10 times in a loop. Since the parameters of function "foo" are
invariant and the function
2015 Dec 01
2
LICM doesn't work for IntrReadMem intrinsic function
...rst? Loop unrolling requires loops
> to be in canonicalized rotated form first, so I wouldn’t be surprised if
> LICM does as well.
>
> —escha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151201/cb989800/attachment.html>