X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F2008-12-19-EarlyClobberBug.ll;h=6bb29fde84547869768c82c0d7bc32802f04fcf3;hb=f44d69a9c3a9c295184011ba37ad36321ced7531;hp=ad1615b13a6e41286826bba46418897ca3233e7e;hpb=251829ed87d0bfad51d8767be1378243691c129d;p=oota-llvm.git diff --git a/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll b/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll index ad1615b13a6..6bb29fde845 100644 --- a/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll +++ b/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll @@ -1,10 +1,10 @@ -; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | FileCheck %s +; RUN: llc < %s -mcpu=generic -mtriple=i386-apple-darwin -asm-verbose=0 | FileCheck %s ; PR3149 ; Make sure the copy after inline asm is not coalesced away. ; CHECK: ## InlineAsm End -; CHECK-NEXT: BB1_2: -; CHECK-NEXT: movl %esi, %eax +; CHECK-NEXT: BB0_2: +; CHECK-NEXT: {{movl %esi, %eax|addl %edi, %esi}} @"\01LC" = internal constant [7 x i8] c"n0=%d\0A\00" ; <[7 x i8]*> [#uses=1] @@ -16,7 +16,7 @@ entry: %1 = trunc i64 %u to i32 ; [#uses=4] %2 = lshr i64 %u, 32 ; [#uses=1] %3 = trunc i64 %2 to i32 ; [#uses=2] - %4 = tail call i32 (i8*, ...)* @printf(i8* getelementptr ([7 x i8]* @"\01LC", i32 0, i32 0), i32 %1) nounwind ; [#uses=0] + %4 = tail call i32 (i8*, ...) @printf(i8* getelementptr ([7 x i8], [7 x i8]* @"\01LC", i32 0, i32 0), i32 %1) nounwind ; [#uses=0] %5 = icmp ult i32 %1, %0 ; [#uses=1] br i1 %5, label %bb2, label %bb