New entry.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 18 Jul 2007 08:21:49 +0000 (08:21 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 18 Jul 2007 08:21:49 +0000 (08:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39998 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt

index 4564b0f77be1fda871f1e9acc9e41c495c5af129..f15090aad9d518058b0359e04fa871bc6ae80de5 100644 (file)
@@ -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)