• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s | llvm-dis -show-annotations | FileCheck -check-prefix=ANNOT %s
2; RUN: llvm-as < %s | llvm-dis | FileCheck -check-prefix=BARE %s
3
4; The bare version of this file should not have any #uses lines.
5; BARE: @B =
6; BARE-NOT: #uses
7; BARE: }
8
9@B = external global i32
10; ANNOT: @B = external global i32   ; [#uses=0 type=i32*]
11
12define <4 x i1> @foo(<4 x float> %a, <4 x float> %b) nounwind {
13entry:
14  %cmp = fcmp olt <4 x float> %a, %b              ; [#uses=1]
15  ret <4 x i1> %cmp
16}
17
18; ANNOT: %cmp = fcmp olt <4 x float> %a, %b              ; [#uses=1 type=<4 x i1>]
19
20