1 ; RUN: llc < %s -march=ppc32 -mcpu=ppc32 | FileCheck %s 2 ; RUN: llc < %s -march=ppc32 -mcpu=ppc32 -mtriple=powerpc-darwin | FileCheck %s -check-prefix=CHECK-D 3 target triple = "powerpc-unknown-linux-gnu" 4 5 declare void @printf(i8*, ...) 6 7 define void @main() { 8 call void (i8*, ...) @printf(i8* undef, i1 false) 9 ret void 10 } 11 12 ; CHECK-LABEL: @main 13 ; CHECK-DAG: li 4, 0 14 ; CHECK-DAG: crxor 6, 6, 6 15 ; CHECK: bl printf 16 17 ; CHECK-D-LABEL: @main 18 ; CHECK-D: li r4, 0 19 ; CHECK-D: bl L_printf$stub 20 21