diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-19 17:33:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-19 17:33:52 +0000 |
commit | 08162d9515659ded2bf434c548f7e97b794bc851 (patch) | |
tree | df75a38b40fe98f9ceb5ff67241a10a63814e210 /llvm/test/CodeGen/X86/pic-2.ll | |
parent | eec73618af54ab2d93db15aadbec05fedd2acb67 (diff) | |
download | bcm5719-llvm-08162d9515659ded2bf434c548f7e97b794bc851.tar.gz bcm5719-llvm-08162d9515659ded2bf434c548f7e97b794bc851.zip |
rename tests to avoid a test- prefix when they aren't related to the test instruction.
llvm-svn: 47329
Diffstat (limited to 'llvm/test/CodeGen/X86/pic-2.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/pic-2.ll | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/pic-2.ll b/llvm/test/CodeGen/X86/pic-2.ll new file mode 100644 index 00000000000..40899b35b8a --- /dev/null +++ b/llvm/test/CodeGen/X86/pic-2.ll @@ -0,0 +1,18 @@ +; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \ +; RUN: -o %t -f +; RUN: grep _GLOBAL_OFFSET_TABLE_ %t +; RUN: grep piclabel %t | count 3 +; RUN: grep GOTOFF %t | count 4 + +@ptr = internal global i32* null +@dst = internal global i32 0 +@src = internal global i32 0 + +define void @foo() { +entry: + store i32* @dst, i32** @ptr + %tmp.s = load i32* @src + store i32 %tmp.s, i32* @dst + ret void +} + |