You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
320 B
17 lines
320 B
; RUN: llc -verify-machineinstrs < %s -mcpu=ppc32 | FileCheck %s
|
|
target triple = "powerpc-unknown-linux-gnu"
|
|
|
|
declare void @printf(i8*, ...)
|
|
|
|
define void @main() {
|
|
call void (i8*, ...) @printf(i8* undef, i1 false)
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: @main
|
|
; CHECK-DAG: li 4, 0
|
|
; CHECK-DAG: crxor 6, 6, 6
|
|
; CHECK: bl printf
|
|
|
|
|