summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/ppc32-i1-vaarg.ll')
-rw-r--r--test/CodeGen/PowerPC/ppc32-i1-vaarg.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll b/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll
index 096ea384f0..6e0aec27b7 100644
--- a/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll
+++ b/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll
@@ -1,4 +1,5 @@
; 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*, ...)
@@ -13,3 +14,7 @@ define void @main() {
; CHECK-DAG: crxor 6, 6, 6
; CHECK: bl printf
+; CHECK-D-LABEL: @main
+; CHECK-D: li r4, 0
+; CHECK-D: bl L_printf$stub
+