xref: /llvm-project/llvm/test/CodeGen/PowerPC/2007-09-12-LiveIntervalsAssert.ll (revision 427fb35192f1f7bb694a5910b05abc5925a798b2)
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s
2
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: blr
8
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_next
13
14cond_true:    ; preds = %entry
15        ret i32 0
16
17cond_next:        ; preds = %entry
18        ret i32 0
19}
20