OLD | NEW |
1 ; RUN: pnacl-abicheck < %s | FileCheck %s | 1 ; RUN: not pnacl-abicheck < %s | FileCheck %s |
2 | 2 |
3 ; This intrinsic is declared with the wrong type, using i32* arguments | 3 ; This intrinsic is declared with the wrong type, using i32* arguments |
4 ; instead of i8*. Check that the ABI verifier rejects this. This | 4 ; instead of i8*. Check that the ABI verifier rejects this. This |
5 ; must be tested in a separate .ll file from the correct intrinsic | 5 ; must be tested in a separate .ll file from the correct intrinsic |
6 ; declarations. | 6 ; declarations. |
7 | 7 |
8 declare void @llvm.memcpy.p0i8.p0i8.i32(i32* %dest, i32* %src, | 8 declare void @llvm.memcpy.p0i8.p0i8.i32(i32* %dest, i32* %src, |
9 i32 %len, i32 %align, i1 %isvolatile) | 9 i32 %len, i32 %align, i1 %isvolatile) |
10 ; CHECK: Function llvm.memcpy.p0i8.p0i8.i32 is a disallowed LLVM intrinsic | 10 ; CHECK: Function llvm.memcpy.p0i8.p0i8.i32 is a disallowed LLVM intrinsic |
OLD | NEW |