diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-12 06:36:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-12 06:36:01 +0000 |
commit | adaa38f13de99b3e3369e853ed0b093311459f74 (patch) | |
tree | f1c1e82def782e4b8d2e21eac609c44c21e2ec85 | |
parent | f19fb9b4f45acce221ba3c20f37d66ffc1735b54 (diff) |
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30271 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/README.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 394201c3c1..110f399484 100644 --- a/lib/Target/X86/README.txt +++ b/lib/Target/X86/README.txt @@ -628,3 +628,17 @@ _test: This saves a movzbl, and saves a truncate if it doesn't get coallesced right. This is a simple DAGCombine to propagate the zext through the and. + +//===---------------------------------------------------------------------===// + +Instead of: + + cmpl $4294967295, %edx + jg LBB1_8 #cond_false49 + +emit: + + testl %edx, %edx + js LBB1_8 + +This saves a byte of code space. |