1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
3 @X = external global i8
4 @Y = external global i8
5 @Z = external global i8
7 @A = global i1 add (i1 icmp ult (ptr @X, ptr @Y), i1 icmp ult (ptr @X, ptr @Z))
8 ; CHECK: @A = global i1 xor (i1 icmp ult (ptr @X, ptr @Y), i1 icmp ult (ptr @X, ptr @Z))
9 @B = global i1 sub (i1 icmp ult (ptr @X, ptr @Y), i1 icmp ult (ptr @X, ptr @Z)), align 2
10 ; CHECK: @B = global i1 xor (i1 icmp ult (ptr @X, ptr @Y), i1 icmp ult (ptr @X, ptr @Z))
11 @C = global i1 mul (i1 icmp ult (ptr @X, ptr @Y), i1 icmp ult (ptr @X, ptr @Z))
12 ; CHECK: @C = global i1 mul (i1 icmp ult (ptr @X, ptr @Y), i1 icmp ult (ptr @X, ptr @Z))
14 @H = global i1 icmp ule (ptr @X, ptr @Y)
15 ; CHECK: @H = global i1 icmp ule (ptr @X, ptr @Y)
17 @I = global i1 xor (i1 icmp ult (ptr @X, ptr @Y), i1 false)
18 ; CHECK: @I = global i1 icmp ult (ptr @X, ptr @Y)
19 @J = global i1 xor (i1 icmp ult (ptr @X, ptr @Y), i1 true)
20 ; CHECK: @J = global i1 icmp uge (ptr @X, ptr @Y)
22 @K = global i1 icmp eq (i1 icmp ult (ptr @X, ptr @Y), i1 false)
23 ; CHECK: @K = global i1 icmp uge (ptr @X, ptr @Y)
24 @L = global i1 icmp eq (i1 icmp ult (ptr @X, ptr @Y), i1 true)
25 ; CHECK: @L = global i1 icmp ult (ptr @X, ptr @Y)
26 @M = global i1 icmp ne (i1 icmp ult (ptr @X, ptr @Y), i1 true)
27 ; CHECK: @M = global i1 icmp uge (ptr @X, ptr @Y)
28 @N = global i1 icmp ne (i1 icmp ult (ptr @X, ptr @Y), i1 false)
29 ; CHECK: @N = global i1 icmp ult (ptr @X, ptr @Y)
31 @O = global i1 icmp eq (i32 zext (i1 icmp ult (ptr @X, ptr @Y) to i32), i32 0)
32 ; CHECK: @O = global i1 icmp uge (ptr @X, ptr @Y)
36 @pr9011_1 = constant <4 x i32> zext (<4 x i8> zeroinitializer to <4 x i32>)
37 ; CHECK: pr9011_1 = constant <4 x i32> zeroinitializer
38 @pr9011_2 = constant <4 x i32> sext (<4 x i8> zeroinitializer to <4 x i32>)
39 ; CHECK: pr9011_2 = constant <4 x i32> zeroinitializer
40 @pr9011_3 = constant <4 x i32> bitcast (<16 x i8> zeroinitializer to <4 x i32>)
41 ; CHECK: pr9011_3 = constant <4 x i32> zeroinitializer
42 @pr9011_4 = constant <4 x float> uitofp (<4 x i8> zeroinitializer to <4 x float>)
43 ; CHECK: pr9011_4 = constant <4 x float> zeroinitializer
44 @pr9011_5 = constant <4 x float> sitofp (<4 x i8> zeroinitializer to <4 x float>)
45 ; CHECK: pr9011_5 = constant <4 x float> zeroinitializer
46 @pr9011_6 = constant <4 x i32> fptosi (<4 x float> zeroinitializer to <4 x i32>)
47 ; CHECK: pr9011_6 = constant <4 x i32> zeroinitializer
48 @pr9011_7 = constant <4 x i32> fptoui (<4 x float> zeroinitializer to <4 x i32>)
49 ; CHECK: pr9011_7 = constant <4 x i32> zeroinitializer
50 @pr9011_8 = constant <4 x float> fptrunc (<4 x double> zeroinitializer to <4 x float>)
51 ; CHECK: pr9011_8 = constant <4 x float> zeroinitializer
52 @pr9011_9 = constant <4 x double> fpext (<4 x float> zeroinitializer to <4 x double>)
53 ; CHECK: pr9011_9 = constant <4 x double> zeroinitializer
55 @pr9011_10 = constant <4 x double> bitcast (i256 0 to <4 x double>)
56 ; CHECK: pr9011_10 = constant <4 x double> zeroinitializer
57 @pr9011_11 = constant <4 x float> bitcast (i128 0 to <4 x float>)
58 ; CHECK: pr9011_11 = constant <4 x float> zeroinitializer
59 @pr9011_12 = constant <4 x i32> bitcast (i128 0 to <4 x i32>)
60 ; CHECK: pr9011_12 = constant <4 x i32> zeroinitializer
61 @pr9011_13 = constant i256 bitcast (<4 x double> zeroinitializer to i256)
62 ; CHECK: pr9011_13 = constant i256 0
63 @pr9011_14 = constant i128 bitcast (<4 x float> zeroinitializer to i128)
64 ; CHECK: pr9011_14 = constant i128 0
65 @pr9011_15 = constant i128 bitcast (<4 x i32> zeroinitializer to i128)
66 ; CHECK: pr9011_15 = constant i128 0