X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F20090313-signext.ll;h=3ea13164112eeb638001fca22e1d92d782a66b85;hb=8176f933d9f2d699eb2061eb7b111ce8c95c561b;hp=b6c9ecbf47a4057a5022e26da76705db2459cb85;hpb=6b2c7ae2c926d9622c1b5537a789c5d5d726428e;p=oota-llvm.git diff --git a/test/CodeGen/X86/20090313-signext.ll b/test/CodeGen/X86/20090313-signext.ll index b6c9ecbf47a..3ea13164112 100644 --- a/test/CodeGen/X86/20090313-signext.ll +++ b/test/CodeGen/X86/20090313-signext.ll @@ -1,6 +1,7 @@ -; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic > %t -; RUN: grep {movswl %ax, %edi} %t -; RUN: grep {movw (%rax), %ax} %t +; RUN: llc < %s -march=x86-64 -relocation-model=pic > %t +; RUN: grep "movswl %ax, %edi" %t +; RUN: grep "movw (%rax), %ax" %t +; XFAIL: * @x = common global i16 0 @@ -9,7 +10,7 @@ entry: %0 = tail call signext i16 @h() nounwind %1 = sext i16 %0 to i32 tail call void @g(i32 %1) nounwind - %2 = load i16* @x, align 2 + %2 = load i16, i16* @x, align 2 ret i16 %2 }