xref: /aosp_15_r20/external/llvm/test/Assembler/comment.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s | llvm-dis -show-annotations | FileCheck -check-prefix=ANNOT %s
2*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s | llvm-dis | FileCheck -check-prefix=BARE %s
3*9880d681SAndroid Build Coastguard Worker; RUN: verify-uselistorder %s
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker; The bare version of this file should not have any #uses lines.
6*9880d681SAndroid Build Coastguard Worker; BARE: @B =
7*9880d681SAndroid Build Coastguard Worker; BARE-NOT: #uses
8*9880d681SAndroid Build Coastguard Worker; BARE: }
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker@B = external global i32
11*9880d681SAndroid Build Coastguard Worker; ANNOT: @B = external global i32   ; [#uses=0 type=i32*]
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard Workerdefine <4 x i1> @foo(<4 x float> %a, <4 x float> %b) nounwind {
14*9880d681SAndroid Build Coastguard Workerentry:
15*9880d681SAndroid Build Coastguard Worker  %cmp = fcmp olt <4 x float> %a, %b              ; [#uses=1]
16*9880d681SAndroid Build Coastguard Worker  ret <4 x i1> %cmp
17*9880d681SAndroid Build Coastguard Worker}
18*9880d681SAndroid Build Coastguard Worker
19*9880d681SAndroid Build Coastguard Worker; ANNOT: %cmp = fcmp olt <4 x float> %a, %b              ; [#uses=1 type=<4 x i1>]
20*9880d681SAndroid Build Coastguard Worker
21