2 ; RUN: llvm-as %s -o /dev/null
3 ; RUN: verify-uselistorder %s
5 @str = internal constant [4 x i8] c"-ga\00" ; <ptr> [#uses=2]
7 define i32 @main(i32 %argc, ptr %argv) {
9 %tmp65 = getelementptr ptr, ptr %argv, i32 1 ; <ptr> [#uses=1]
10 %tmp66 = load ptr, ptr %tmp65 ; <ptr> [#uses=0]
11 %cmp = icmp ne i32 sub (i32 ptrtoint (ptr getelementptr ([4 x i8], ptr @str, i32 0, i64 1) to i32), i32 ptrtoint (ptr @str to i32)), 1
12 br i1 %cmp, label %exit_1, label %exit_2
14 exit_1: ; preds = %entry
17 exit_2: ; preds = %entry