X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F2006-05-02-InstrSched1.ll;h=69266dc4e44ba01fa70679fe3ae1a3af63930e59;hb=7476f9c5134a7170ca53561d20e9a19adef251f8;hp=d9ef5b0f71b0611801ef81164562bda5ba09d8b6;hpb=1d3863fdbcc37f98d72408b59f6aef3243f36d7f;p=oota-llvm.git diff --git a/test/CodeGen/X86/2006-05-02-InstrSched1.ll b/test/CodeGen/X86/2006-05-02-InstrSched1.ll index d9ef5b0f71b..69266dc4e44 100644 --- a/test/CodeGen/X86/2006-05-02-InstrSched1.ll +++ b/test/CodeGen/X86/2006-05-02-InstrSched1.ll @@ -1,7 +1,10 @@ -; RUN: llvm-as < %s | \ -; RUN: llc -march=x86 -relocation-model=static -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 ; [#uses=1] @in5 = external global i8* ; [#uses=1] @@ -21,4 +24,3 @@ define i32 @compare(i8* %a, i8* %b) nounwind { } declare i32 @memcmp(i8*, i8*, i32) -