summaryrefslogtreecommitdiff
path: root/test/CodeGen/MSP430
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-05-27 19:35:41 +0000
committerChris Lattner <sabre@nondot.org>2012-05-27 19:35:41 +0000
commitc32cef6aa158a572dd42a4e15762ebb5c666c85e (patch)
tree96acf3d4d759260f8724aeb304af824e9a5c47c3 /test/CodeGen/MSP430
parentb15f5ef641305c145e6d9dcaca3e5ad06c7d6c66 (diff)
downloadllvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.tar.gz
llvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.tar.bz2
llvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.tar.xz
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.ll6
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 b92477bed5..c3d69c7c0d 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)