Displaying 3 results from an estimated 3 matches for "3000fb8d".
2009 Oct 27
2
[LLVMdev] LICM
Hi all,
I just noticed that LICM does not hoist/sink the following store out of
the loop:
int array[20];
int i;
for (i = 0; i<100; i++) {
array [0] = 0;
}
The getElementPtr instruction is hoisted out of the loop; the store is
not. Did I miss something obvious? Bitcode file attached.
Generated using LLVM 2.5 and
llvm-gcc -c -emit-llvm
2009 Oct 27
0
[LLVMdev] LICM
2009/10/27 Marc Brünink <marc at bruenink.de>
> Hi all,
>
> I just noticed that LICM does not hoist/sink the following store out of the
> loop:
>
> int array[20];
> int i;
> for (i = 0; i<100; i++) {
> array [0] = 0;
> }
>
> The getElementPtr instruction is hoisted out of the loop; the store is not.
> Did I
2009 Oct 27
1
[LLVMdev] LICM
...; to the cc list there.
This is expected behavior, you need to run loop rotate before licm to
get this. This is completely eliminate at -O3.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091027/3000fb8d/attachment.html>