blob: 16362abc716f0dcc27a542399203b6cf514623f5 [file] [log] [blame]
Chris Lattner6cd71f02010-09-02 23:21:44 +00001; 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
Stuart Hastingsc74513d2011-03-17 19:50:04 +000010; ANNOT: @B = external global i32 ; [#uses=0 type=i32*]
Chris Lattner6cd71f02010-09-02 23:21:44 +000011
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
Stuart Hastingsc74513d2011-03-17 19:50:04 +000018; ANNOT: %cmp = fcmp olt <4 x float> %a, %b ; [#uses=1 type=<4 x i1>]
Chris Lattner6cd71f02010-09-02 23:21:44 +000019