aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-10-02 20:54:32 +0000
committerBill Wendling <isanbard@gmail.com>2007-10-02 20:54:32 +0000
commit8d1c8ce3d85d006fb228bfe04aa2a8b53bb6bda2 (patch)
treed17a5c71431fb41ee12f222bc8dd93547067d6c7 /lib
parent6aab4910cd07b8b7105fc42cfd62bebe3d67ce79 (diff)
downloadexternal_llvm-8d1c8ce3d85d006fb228bfe04aa2a8b53bb6bda2.zip
external_llvm-8d1c8ce3d85d006fb228bfe04aa2a8b53bb6bda2.tar.gz
external_llvm-8d1c8ce3d85d006fb228bfe04aa2a8b53bb6bda2.tar.bz2
Now with LL code!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/README.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index 08e219c..5172404 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -1241,6 +1241,22 @@ _test:
The following code:
+bb114.preheader: ; preds = %cond_next94
+ %tmp231232 = sext i16 %tmp62 to i32 ; <i32> [#uses=1]
+ %tmp233 = sub i32 32, %tmp231232 ; <i32> [#uses=1]
+ %tmp245246 = sext i16 %tmp65 to i32 ; <i32> [#uses=1]
+ %tmp252253 = sext i16 %tmp68 to i32 ; <i32> [#uses=1]
+ %tmp254 = sub i32 32, %tmp252253 ; <i32> [#uses=1]
+ %tmp553554 = bitcast i16* %tmp37 to i8* ; <i8*> [#uses=2]
+ %tmp583584 = sext i16 %tmp98 to i32 ; <i32> [#uses=1]
+ %tmp585 = sub i32 32, %tmp583584 ; <i32> [#uses=1]
+ %tmp614615 = sext i16 %tmp101 to i32 ; <i32> [#uses=1]
+ %tmp621622 = sext i16 %tmp104 to i32 ; <i32> [#uses=1]
+ %tmp623 = sub i32 32, %tmp621622 ; <i32> [#uses=1]
+ br label %bb114
+
+produces:
+
LBB3_5: # bb114.preheader
movswl -68(%ebp), %eax
movl $32, %ecx
@@ -1261,7 +1277,7 @@ LBB3_5: # bb114.preheader
movl %eax, -96(%ebp)
movw $0, -98(%ebp)
-has redundant subtractions of %eax from a stack slot. However, %ecx doesn't
+This has redundant subtractions of %eax from a stack slot. However, %ecx doesn't
change, so we could simply subtract %eax from %ecx first and then use %ecx (or
vice-versa).