summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/aliases.ll
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-03-11 21:42:20 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-03-11 21:42:20 +0000
commit0fb2033f913cb0e2f5d3ec54567e6ae18b1ea3bc (patch)
treef36eec07a022dc2e7acf94777db8e295d3dbf0c6 /test/CodeGen/X86/aliases.ll
parent22c9e65643e0c6b43be37a19e59491ef0081092c (diff)
downloadllvm-0fb2033f913cb0e2f5d3ec54567e6ae18b1ea3bc.tar.gz
llvm-0fb2033f913cb0e2f5d3ec54567e6ae18b1ea3bc.tar.bz2
llvm-0fb2033f913cb0e2f5d3ec54567e6ae18b1ea3bc.tar.xz
Update testcase for recent aliases change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/aliases.ll')
-rw-r--r--test/CodeGen/X86/aliases.ll10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGen/X86/aliases.ll b/test/CodeGen/X86/aliases.ll
index 4a69eaeda8..3578c96c65 100644
--- a/test/CodeGen/X86/aliases.ll
+++ b/test/CodeGen/X86/aliases.ll
@@ -1,8 +1,10 @@
; RUN: llvm-as < %s | \
; RUN: llc -mtriple=i686-pc-linux-gnu -o %t -f
-; RUN: grep set %t | count 5
-; RUN: grep globl %t | count 4
+; RUN: grep set %t | count 7
+; RUN: grep globl %t | count 6
; RUN: grep weak %t | count 1
+; RUN: grep hidden %t | count 1
+; RUN: grep protected %t | count 1
@bar = external global i32
@foo1 = alias i32* @bar
@@ -17,6 +19,10 @@ declare i32 @foo_f()
@A = alias bitcast (i32* @bar to i64*)
+@bar_h = hidden alias i32* @bar
+
+@bar_p = protected alias i32* @bar
+
define i32 @test() {
entry:
%tmp = load i32* @foo1