add a note

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30271 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-09-12 06:36:01 +00:00
parent f19fb9b4f4
commit adaa38f13d

View File

@ -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.