brintos

brintos / llvm-project-archived public Read only

0
0
Text · 835 B · dbbc2a7 Raw
26 lines · plain
1; RUN: llc < %s -mtriple=nvptx64 -verify-machineinstrs2; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 | %ptxas-verify %}3 4; Check that llc will not crash even when first MBB doesn't contain5; any instruction.6 7target datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64"8target triple = "nvptx64"9 10%printf_args.0.8 = type { ptr }11 12define internal i32 @__kmpc_get_hardware_thread_id_in_block(i1 %0) {13  %2 = alloca %printf_args.0.8, i32 0, align 814  br i1 true, label %._crit_edge1, label %._crit_edge15 16._crit_edge:                                      ; preds = %1, %._crit_edge17  %3 = call i32 null(ptr null, ptr %2)18  br i1 %0, label %._crit_edge, label %._crit_edge119 20._crit_edge1:                                     ; preds = %._crit_edge, %121  ret i32 022 23; uselistorder directives24  uselistorder label %._crit_edge, { 1, 0 }25}26