[X86] Add XSAVE intrinsic family
[oota-llvm.git] / test / CodeGen / X86 / store-global-address.ll
index c933714ea611df092795b10eaa9c37231f15499f..c8d4cbceea3dad6ce8760ec3bae58749cb844996 100644 (file)
@@ -1,9 +1,10 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep movl | wc -l | grep 1
+; RUN: llc < %s -march=x86 | grep movl | count 1
 
-%dst = global int 0
-%ptr = global int* null
+@dst = global i32 0             ; <i32*> [#uses=1]
+@ptr = global i32* null         ; <i32**> [#uses=1]
 
-void %test() {
-       store int* %dst, int** %ptr
-       ret void
+define void @test() {
+        store i32* @dst, i32** @ptr
+        ret void
 }
+