comment.ll 611 B

1234567891011121314151617181920
  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. ; RUN: verify-uselistorder %s
  4. ; The bare version of this file should not have any #uses lines.
  5. ; BARE: @B =
  6. ; BARE-NOT: #uses
  7. ; BARE: }
  8. @B = external global i32
  9. ; ANNOT: @B = external global i32 ; [#uses=0 type=i32*]
  10. define <4 x i1> @foo(<4 x float> %a, <4 x float> %b) nounwind {
  11. entry:
  12. %cmp = fcmp olt <4 x float> %a, %b ; [#uses=1]
  13. ret <4 x i1> %cmp
  14. }
  15. ; ANNOT: %cmp = fcmp olt <4 x float> %a, %b ; [#uses=1 type=<4 x i1>]