1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll
Jonathan Roelofs 3ac128b6b7 Fix a bunch of trivial cases of 'CHECK[^:]*$' in the tests. NFCI
I looked into adding a warning / error for this to FileCheck, but there doesn't
seem to be a good way to avoid it triggering on the instances of it in RUN lines.

llvm-svn: 244481
2015-08-10 19:01:27 +00:00

21 lines
484 B
LLVM

; RUN: llc < %s -march=ppc32 -mcpu=ppc32 | FileCheck %s
; RUN: llc < %s -march=ppc32 -mcpu=ppc32 -mtriple=powerpc-darwin | FileCheck %s -check-prefix=CHECK-D
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
; CHECK-D-LABEL: @main
; CHECK-D: li r4, 0
; CHECK-D: bl L_printf$stub