diff options
author | Chris Lattner <sabre@nondot.org> | 2012-05-27 19:35:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-05-27 19:35:41 +0000 |
commit | c32cef6aa158a572dd42a4e15762ebb5c666c85e (patch) | |
tree | 96acf3d4d759260f8724aeb304af824e9a5c47c3 /test/CodeGen/MSP430 | |
parent | b15f5ef641305c145e6d9dcaca3e5ad06c7d6c66 (diff) | |
download | external_llvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.zip external_llvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.tar.gz external_llvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.tar.bz2 |
These tests used intrinsics with the wrong prototype. They weren't caught because
the old verifier just checked that something "was a pointer", but not that the pointee
was correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/MSP430')
-rw-r--r-- | test/CodeGen/MSP430/2009-12-21-FrameAddr.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/MSP430/2009-12-21-FrameAddr.ll b/test/CodeGen/MSP430/2009-12-21-FrameAddr.ll index b92477b..c3d69c7 100644 --- a/test/CodeGen/MSP430/2009-12-21-FrameAddr.ll +++ b/test/CodeGen/MSP430/2009-12-21-FrameAddr.ll @@ -5,9 +5,9 @@ target triple = "msp430-unknown-linux-gnu" define msp430_intrcc void @foo() nounwind { entry: - %fa = call i16* @llvm.frameaddress(i32 0) - store i16 0, i16* %fa + %fa = call i8* @llvm.frameaddress(i32 0) + store i8 0, i8* %fa ret void } -declare i16* @llvm.frameaddress(i32) +declare i8* @llvm.frameaddress(i32) |