Chris Lattner | 6cd71f0 | 2010-09-02 23:21:44 +0000 | [diff] [blame] | 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 |
Stuart Hastings | c74513d | 2011-03-17 19:50:04 +0000 | [diff] [blame] | 10 | ; ANNOT: @B = external global i32 ; [#uses=0 type=i32*] |
Chris Lattner | 6cd71f0 | 2010-09-02 23:21:44 +0000 | [diff] [blame] | 11 | |
| 12 | define <4 x i1> @foo(<4 x float> %a, <4 x float> %b) nounwind { |
| 13 | entry: |
| 14 | %cmp = fcmp olt <4 x float> %a, %b ; [#uses=1] |
| 15 | ret <4 x i1> %cmp |
| 16 | } |
| 17 | |
Stuart Hastings | c74513d | 2011-03-17 19:50:04 +0000 | [diff] [blame] | 18 | ; ANNOT: %cmp = fcmp olt <4 x float> %a, %b ; [#uses=1 type=<4 x i1>] |
Chris Lattner | 6cd71f0 | 2010-09-02 23:21:44 +0000 | [diff] [blame] | 19 | |