Updated aliases test
authorAnton Korobeynikov <asl@math.spbu.ru>
Sun, 29 Apr 2007 10:34:42 +0000 (10:34 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sun, 29 Apr 2007 10:34:42 +0000 (10:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36558 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/aliases.ll

index 33d30db89f5fd46c64108f1f8ab1229541ab843d..9bd6140848e1a1e43912c392b1d700e5fee95894 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-as < %s | \
 ; RUN:   llc -mtriple=i686-pc-linux-gnu -o %t -f
-; RUN: grep -c set %t   | grep 4
-; RUN: grep -c globl %t | grep 3
+; RUN: grep -c set %t   | grep 5
+; RUN: grep -c globl %t | grep 4
 ; RUN: grep -c weak %t  | grep 1
 
 @bar = external global i32
@@ -15,6 +15,8 @@ declare i32 @foo_f()
 
 @bar_i = alias internal i32* @bar
 
+@A = alias bitcast (i32* @bar to i64*)
+
 define i32 @test() {
 entry:
    %tmp = load i32* @foo1