summaryrefslogtreecommitdiffstats
path: root/llvm/test/Verifier/inalloca1.ll
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-01-16 22:59:24 +0000
committerReid Kleckner <reid@kleckner.net>2014-01-16 22:59:24 +0000
commit60d3a835ff1821f6c42a20a88b79ebc5cd12aac3 (patch)
tree1762815f673e9fe30c2d8fb83dcfbb40a7d4cc53 /llvm/test/Verifier/inalloca1.ll
parent5ec012d4ded5434e011e6f68b1e13b82ec120c4b (diff)
downloadbcm5719-llvm-60d3a835ff1821f6c42a20a88b79ebc5cd12aac3.tar.gz
bcm5719-llvm-60d3a835ff1821f6c42a20a88b79ebc5cd12aac3.zip
Change inalloca rules to make it only apply to the last parameter
This makes things a lot easier, because we can now talk about the "argument allocation", which allocates all the memory for the call in one shot. The only functional change is to the verifier for a feature that hasn't shipped yet. llvm-svn: 199434
Diffstat (limited to 'llvm/test/Verifier/inalloca1.ll')
-rw-r--r--llvm/test/Verifier/inalloca1.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Verifier/inalloca1.ll b/llvm/test/Verifier/inalloca1.ll
index 9408c95ee31..38b5507abba 100644
--- a/llvm/test/Verifier/inalloca1.ll
+++ b/llvm/test/Verifier/inalloca1.ll
@@ -17,3 +17,6 @@ declare void @e(i64* readonly inalloca %p)
declare void @f(void ()* inalloca %p)
; CHECK: do not support unsized types
+
+declare void @g(i32* inalloca %p, i32 %p2)
+; CHECK: inalloca isn't on the last parameter!
OpenPOWER on IntegriCloud