diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-19 19:00:10 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-19 19:00:10 +0000 |
commit | cbc6ebb6fd4e1a218d21cdad75dc012d43be2b93 (patch) | |
tree | 5bd4ce70e12a56448e687159f896ef4cbcb7bf52 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5d26212f6bc66ffc1bec74fd053c06265f2e79aa (diff) | |
download | bcm5719-llvm-cbc6ebb6fd4e1a218d21cdad75dc012d43be2b93.tar.gz bcm5719-llvm-cbc6ebb6fd4e1a218d21cdad75dc012d43be2b93.zip |
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.
llvm-svn: 89374
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions