[X86][SSE] Added lzcnt vector tests.
[oota-llvm.git] / test / CodeGen / X86 / 20090313-signext.ll
index 67847b6e8586a51cc9cc19c85ac21e67c804832f..3ea13164112eeb638001fca22e1d92d782a66b85 100644 (file)
@@ -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
 }