X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Fx86-64-pic-6.ll;h=ae5b5835928d43e548075300b028426f43f99cf7;hb=f7b5e016363b664461f33a4a391b27bea637209d;hp=b8a91f10ea140f7cc515c0626baf56da49088f84;hpb=d674b4e87d76609994ffc82aae6b2eb37e8b02db;p=oota-llvm.git diff --git a/test/CodeGen/X86/x86-64-pic-6.ll b/test/CodeGen/X86/x86-64-pic-6.ll index b8a91f10ea1..ae5b5835928 100644 --- a/test/CodeGen/X86/x86-64-pic-6.ll +++ b/test/CodeGen/X86/x86-64-pic-6.ll @@ -1,11 +1,10 @@ -; RUN: llvm-as < %s | \ -; RUN: llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 -f -; RUN: grep {movl a(%rip),} %t1 +; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 +; RUN: grep "movl a(%rip)," %t1 ; RUN: not grep GOTPCREL %t1 @a = internal global i32 0 -define i32 @get_a() { +define i32 @get_a() nounwind { entry: %tmp1 = load i32* @a, align 4 ret i32 %tmp1