blob: edf098948972bab7f30813802c371eca0ec4877c [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
Duncan P. N. Exon Smith13f5c582014-08-19 21:08:27 +00003; RUN: verify-uselistorder %s
Chris Lattner6cd71f02010-09-02 23:21:44 +00004
5; The bare version of this file should not have any #uses lines.
6; BARE: @B =
7; BARE-NOT: #uses
8; BARE: }
9
10@B = external global i32
Stuart Hastingsc74513d2011-03-17 19:50:04 +000011; ANNOT: @B = external global i32 ; [#uses=0 type=i32*]
Chris Lattner6cd71f02010-09-02 23:21:44 +000012
13define <4 x i1> @foo(<4 x float> %a, <4 x float> %b) nounwind {
14entry:
15 %cmp = fcmp olt <4 x float> %a, %b ; [#uses=1]
16 ret <4 x i1> %cmp
17}
18
Stuart Hastingsc74513d2011-03-17 19:50:04 +000019; ANNOT: %cmp = fcmp olt <4 x float> %a, %b ; [#uses=1 type=<4 x i1>]
Chris Lattner6cd71f02010-09-02 23:21:44 +000020