diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-09-10 22:11:18 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-09-10 22:11:18 +0000 |
commit | 3b9f777f4769611043e5c48ea190711fc89cc59b (patch) | |
tree | 161be080432a1475f97f55fdbb1d3dd808a9a326 /llvm/lib/CodeGen/README.txt | |
parent | 6777b726591f67b03ebc3eeb086e5fac293b6583 (diff) | |
download | bcm5719-llvm-3b9f777f4769611043e5c48ea190711fc89cc59b.tar.gz bcm5719-llvm-3b9f777f4769611043e5c48ea190711fc89cc59b.zip |
Observation of rematerialization.
llvm-svn: 41809
Diffstat (limited to 'llvm/lib/CodeGen/README.txt')
-rw-r--r-- | llvm/lib/CodeGen/README.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/README.txt b/llvm/lib/CodeGen/README.txt index 4fff15c1e3f..87671913209 100644 --- a/llvm/lib/CodeGen/README.txt +++ b/llvm/lib/CodeGen/README.txt @@ -143,3 +143,8 @@ load [T + 7] ... load [T + 15] //===---------------------------------------------------------------------===// + +It's not always a good idea to choose rematerialization over spilling. If all +the load / store instructions would be folded then spilling is cheaper because +it won't require new live intervals / registers. See 2003-05-31-LongShifts for +an example. |