Teach MachineLICM to unfold loads from constant memory from
authorDan Gohman <gohman@apple.com>
Wed, 28 Oct 2009 03:21:57 +0000 (03:21 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 28 Oct 2009 03:21:57 +0000 (03:21 +0000)
commit589f1f5a4321eeee2856baa5c8ab1139d6e0351e
treea7b1d697f7451383b335476448cb071fca15d8f9
parent39382427f1095f089d73a7dd3d9a371dea75b781
Teach MachineLICM to unfold loads from constant memory from
otherwise unhoistable instructions in order to allow the loads
to be hoisted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineLICM.cpp
test/CodeGen/X86/pic-load-remat.ll
test/CodeGen/X86/sink-hoist.ll