From adaa38f13de99b3e3369e853ed0b093311459f74 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 12 Sep 2006 06:36:01 +0000 Subject: [PATCH] add a note git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30271 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/README.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 394201c3c19..110f399484b 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. -- 2.34.1