Fix the result type of SELECT nodes lowered from Select instructions with
[oota-llvm.git] / test / CodeGen / X86 / aliases.ll
index 33d30db89f5fd46c64108f1f8ab1229541ab843d..0b26859b04c73c14809359132deea4c87744b8a3 100644 (file)
@@ -1,8 +1,9 @@
-; 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 weak %t  | grep 1
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu -asm-verbose=false -o %t
+; 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
@@ -15,6 +16,12 @@ declare i32 @foo_f()
 
 @bar_i = alias internal i32* @bar
 
+@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