-; RUN: llvm-as < %s | \
-; RUN: llc -march=x86 -relocation-model=static -unwind-tables-optional -stats |& \
-; RUN: grep asm-printer | grep 14
+; REQUIRES: asserts
+; RUN: llc < %s -march=x86 -relocation-model=static -stats 2>&1 | \
+; RUN: grep asm-printer | grep 16
;
+; It's possible to schedule this in 14 instructions by avoiding
+; callee-save registers, but the scheduler isn't currently that
+; conervative with registers.
@size20 = external global i32 ; <i32*> [#uses=1]
@in5 = external global i8* ; <i8**> [#uses=1]
}
declare i32 @memcmp(i8*, i8*, i32)
-