X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F20090313-signext.ll;h=3ea13164112eeb638001fca22e1d92d782a66b85;hb=8176f933d9f2d699eb2061eb7b111ce8c95c561b;hp=67847b6e8586a51cc9cc19c85ac21e67c804832f;hpb=64ec298e689edb8e3eae5bdd4bb4ae6584519bdb;p=oota-llvm.git diff --git a/test/CodeGen/X86/20090313-signext.ll b/test/CodeGen/X86/20090313-signext.ll index 67847b6e858..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 -mtriple=x86_64-pc-linux > %t -; RUN: grep {movswl %ax, %edi} %t -; RUN: grep {movw x(%rip), %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 }