brintos

brintos / llvm-project-archived public Read only

0
0
Text · 598 B · e0e9636 Raw
20 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s2 3declare void @cxa_atexit_check_1(ptr)4 5; TODO: KB: ORiginal test case was just checking it compiles; is this worth keeping?6; CHECK: check_cxa_atexit:7; CHECK: blr8 9define i32 @check_cxa_atexit(ptr %cxa_atexit, ptr %cxa_finalize) {10entry:11        %tmp7 = call i32 null( ptr @cxa_atexit_check_1, ptr null, ptr null )            ; <i32> [#uses=0]12        br i1 false, label %cond_true, label %cond_next13 14cond_true:    ; preds = %entry15        ret i32 016 17cond_next:        ; preds = %entry18        ret i32 019}20