diff options
Diffstat (limited to 'test/CodeGen/Generic/2010-11-04-BigByval.ll')
-rw-r--r-- | test/CodeGen/Generic/2010-11-04-BigByval.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2010-11-04-BigByval.ll b/test/CodeGen/Generic/2010-11-04-BigByval.ll new file mode 100644 index 0000000..df2ca4c --- /dev/null +++ b/test/CodeGen/Generic/2010-11-04-BigByval.ll @@ -0,0 +1,11 @@ +; RUN: llc < %s +; PR7170 + +%big = type [131072 x i8] + +declare void @foo(%big* byval align 1) + +define void @bar(%big* byval align 1 %x) { + call void @foo(%big* byval align 1 %x) + ret void +} |