[llvm-commits] PATCH: Allow LICM to sink or lift loads from constant memory

Stefanus Du Toit stefanus.dutoit at rapidmind.com
Tue Jul 22 19:00:43 PDT 2008


Allow LICM to sink or lift loads from constant memory. Also add a test
case for this.

This allows instructions like loads from global variables declared to
be constant to be moved out of loops.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: licm-constantmemory.diff
Type: application/octet-stream
Size: 1507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080722/a0b7eabd/attachment.obj>
-------------- next part --------------



--
Stefanus Du Toit <stefanus.dutoit at rapidmind.com>
   RapidMind Inc.
   phone: +1 519 885 5455 x116 -- fax: +1 519 885 1463





More information about the llvm-commits mailing list