brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 86666ea Raw
26 lines · plain
1; Test that SystemZISelLowering::supportedAddressingMode() does not crash on2; a comparison of constant wider than 64 bits.3;4; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z135 6target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-a:8:16-n32:64"7target triple = "s390x-ibm-linux"8 9%0 = type <{ i64, [11 x i8] }>10 11@g_101 = external dso_local global <{ <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>, <{ i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }> }>, align 212 13; Function Attrs: nounwind14define void @main() local_unnamed_addr #0 {15  br label %116 17; <label>:1:                                      ; preds = %1, %018  %2 = phi i64 [ 0, %0 ], [ %7, %1 ]19  %3 = getelementptr inbounds [10 x %0], ptr @g_101, i64 0, i64 %2, i32 120  %4 = bitcast ptr %3 to ptr21  %5 = load i88, ptr %4, align 122  %6 = icmp ult i88 %5, 236118324143482260684823  %7 = add nuw nsw i64 %2, 124  br label %125}26