diff options
-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. |