diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-07-18 08:21:49 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-07-18 08:21:49 +0000 |
commit | b5cd24973cdcbc6da0b7e05700d6f4207aa20baf (patch) | |
tree | 97913b0fa4142433728f52f3966ee9fa82a67c79 | |
parent | cbb7ec7396914560e107ff32d4a820774c4392dd (diff) |
New entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39998 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/README.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 4564b0f77b..f15090aad9 100644 --- a/lib/Target/X86/README.txt +++ b/lib/Target/X86/README.txt @@ -1131,3 +1131,20 @@ _test: subl 4(%esp), %eax ret +//===---------------------------------------------------------------------===// + +For code like: +phi (undef, x) + +We get an implicit def on the undef side. If the phi is spilled, we then get: +implicitdef xmm1 +store xmm1 -> stack + +It should be possible to teach the x86 backend to "fold" the store into the +implicitdef, which just deletes the implicit def. + +These instructions should go away: +#IMPLICIT_DEF %xmm1 +movaps %xmm1, 192(%esp) +movaps %xmm1, 224(%esp) +movaps %xmm1, 176(%esp) |