summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-04-30 17:22:00 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-04-30 17:22:00 +0000
commitbf741d2bddfa75babd032db3039064746a8f86ba (patch)
tree831189a8b03c0ecf94afaec8763e9abd3bc5192a /test/Transforms/InstCombine
parent1c37cbdf5490ac4d649a372e1b7ce939521b038e (diff)
downloadllvm-bf741d2bddfa75babd032db3039064746a8f86ba.tar.gz
llvm-bf741d2bddfa75babd032db3039064746a8f86ba.tar.bz2
llvm-bf741d2bddfa75babd032db3039064746a8f86ba.tar.xz
IR: Conservatively verify inalloca arguments
Summary: Try to spot obvious mismatches with inalloca use. Reviewers: rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3572 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine')
-rw-r--r--test/Transforms/InstCombine/call-cast-target-inalloca.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/call-cast-target-inalloca.ll b/test/Transforms/InstCombine/call-cast-target-inalloca.ll
index baf97e0ce9..90289e2468 100644
--- a/test/Transforms/InstCombine/call-cast-target-inalloca.ll
+++ b/test/Transforms/InstCombine/call-cast-target-inalloca.ll
@@ -8,7 +8,7 @@ declare void @takes_i32_inalloca(i32* inalloca)
define void @f() {
; CHECK-LABEL: define void @f()
- %args = alloca i32
+ %args = alloca inalloca i32
call void bitcast (void (i32)* @takes_i32 to void (i32*)*)(i32* inalloca %args)
; CHECK: call void bitcast
ret void