Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: tests_lit/parse_errs/call-fcn-bad-param-type.ll

Issue 1354673002: Fix call instructions to check parameter types for consistency. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix minimal build to work. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 ; Test that even in a call parameter matches its declaration, it must still
Jim Stichnoth 2015/09/17 19:56:46 even if
Karl 2015/09/18 17:22:49 Done.
2 ; be a legal call parameter type (unless declaration is intrinsic).
3
4 ; RUN: %p2i --expect-fail -i %s --insts | FileCheck %s
5
6 declare void @f(i8);
7
8 define void @Test() {
9 entry:
10 call void @f(i8 1)
11 ; CHECK: Call argument 1 matches declaration but has invalid type: i8
12 ret void
13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698