commit | dab249b3b762cff0ff16069b3233e4c885e75347 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Nov 19 19:00:10 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Nov 19 19:00:10 2009 +0000 |
tree | 03861743b53beec3c6cacf798f7bbfb46c0ddb78 | |
parent | 58ce7acb4f87c3caf0f473f89220950919fba7bc [diff] |
Enable hoisting of loads from constant memory by default. In cases where they are lowered to instruction sequences more complex than a simple load, such that CodeGen cannot rematerialize them, a reload from a spill slot is likely to be cheaper than the complex sequence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89374 91177308-0d34-0410-b5e6-96231b3b80d8