aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/README.txt
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-09-10 22:11:18 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-09-10 22:11:18 +0000
commit3b9f777f4769611043e5c48ea190711fc89cc59b (patch)
tree161be080432a1475f97f55fdbb1d3dd808a9a326 /llvm/lib/CodeGen/README.txt
parent6777b726591f67b03ebc3eeb086e5fac293b6583 (diff)
downloadllvm-3b9f777f4769611043e5c48ea190711fc89cc59b.zip
llvm-3b9f777f4769611043e5c48ea190711fc89cc59b.tar.gz
llvm-3b9f777f4769611043e5c48ea190711fc89cc59b.tar.bz2
Observation of rematerialization.
llvm-svn: 41809
Diffstat (limited to 'llvm/lib/CodeGen/README.txt')
-rw-r--r--llvm/lib/CodeGen/README.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/README.txt b/llvm/lib/CodeGen/README.txt
index 4fff15c..8767191 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.