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 | 3bdb3afb70bc1603ebe1cd60a80c8ad5818412be (patch) | |
tree | 388aa5e2709f9050995d17e96f146b825f91d09e /lib/CodeGen/README.txt | |
parent | 4084d49e2baf19cf47ee90fd0a54f7d00b008ab6 (diff) | |
download | external_llvm-3bdb3afb70bc1603ebe1cd60a80c8ad5818412be.zip external_llvm-3bdb3afb70bc1603ebe1cd60a80c8ad5818412be.tar.gz external_llvm-3bdb3afb70bc1603ebe1cd60a80c8ad5818412be.tar.bz2 |
Observation of rematerialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/README.txt')
-rw-r--r-- | lib/CodeGen/README.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/README.txt b/lib/CodeGen/README.txt index 4fff15c..8767191 100644 --- a/lib/CodeGen/README.txt +++ b/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. |