From: Chris Lattner Date: Thu, 3 Sep 2009 06:16:49 +0000 (+0000) Subject: rename test X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1c9c4a75e8e5d16af81808a7417ce97ad5d7e610;p=oota-llvm.git rename test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80901 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/pic-1.ll b/test/CodeGen/X86/pic-1.ll deleted file mode 100644 index 299fa593d97..00000000000 --- a/test/CodeGen/X86/pic-1.ll +++ /dev/null @@ -1,19 +0,0 @@ -; RUN: llvm-as < %s | \ -; RUN: llc -mtriple=i686-pc-linux-gnu -relocation-model=pic -o %t -; RUN: grep _GLOBAL_OFFSET_TABLE_ %t -; RUN: grep piclabel %t | count 3 -; RUN: grep GOT %t | count 3 -; RUN: not grep GOTOFF %t - -@ptr = external global i32* -@dst = external global i32 -@src = external global i32 - -define void @foo() nounwind { -entry: - store i32* @dst, i32** @ptr - %tmp.s = load i32* @src - store i32 %tmp.s, i32* @dst - ret void -} - diff --git a/test/CodeGen/X86/pic.ll b/test/CodeGen/X86/pic.ll new file mode 100644 index 00000000000..299fa593d97 --- /dev/null +++ b/test/CodeGen/X86/pic.ll @@ -0,0 +1,19 @@ +; RUN: llvm-as < %s | \ +; RUN: llc -mtriple=i686-pc-linux-gnu -relocation-model=pic -o %t +; RUN: grep _GLOBAL_OFFSET_TABLE_ %t +; RUN: grep piclabel %t | count 3 +; RUN: grep GOT %t | count 3 +; RUN: not grep GOTOFF %t + +@ptr = external global i32* +@dst = external global i32 +@src = external global i32 + +define void @foo() nounwind { +entry: + store i32* @dst, i32** @ptr + %tmp.s = load i32* @src + store i32 %tmp.s, i32* @dst + ret void +} +