1 ; RUN: llc < %s -mcpu=atom -mtriple=i686-linux | FileCheck %s
3 declare void @external_function(...)
5 define i32 @test_return_val(i32 %a) nounwind {
6 ; CHECK: test_return_val
18 define i32 @test_add(i32 %a, i32 %b) nounwind {
26 %result = add i32 %a, %b
30 define i32 @test_multiple_ret(i32 %a, i32 %b, i1 %c) nounwind {
31 ; CHECK: @test_multiple_ret
42 br i1 %c, label %bb1, label %bb2
51 define void @test_call_others(i32 %x) nounwind
53 ; CHECK: test_call_others
55 %tobool = icmp eq i32 %x, 0
56 br i1 %tobool, label %if.end, label %true.case
58 ; CHECK: jmp external_function
60 tail call void bitcast (void (...)* @external_function to void ()*)() nounwind