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

Side by Side Diff: tests_lit/reader_tests/nacl-fake-intrinsic.ll

Issue 577353003: Add call instructions to Subzero's bitcode reader. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix remaining issues raised. Created 6 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 ; Tests that we don't get fooled by a fake NaCl intrinsic.
2
3
4 ; RUN: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \
5 ; RUN: | not %llvm2ice -notranslate -verbose=inst -build-on-read \
6 ; RUN: -allow-pnacl-reader-error-recovery \
7 ; RUN: -allow-local-symbol-tables \
8 ; RUN: | FileCheck %s
9
10 declare i32 @llvm.fake.i32(i32)
11
12 define i32 @testFake(i32 %v) {
13 %r = call i32 @llvm.fake.i32(i32 %v)
14 ret i32 %r
15 }
16
17 ; CHECK: Error: (218:6) Invalid PNaCl intrinsic call to llvm.fake.i32
18
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/nacl-atomic-intrinsics.ll ('k') | tests_lit/reader_tests/nacl-other-intrinsics.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698