mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
3ae033bbe9
the old verifier just checked that something "was a pointer", but not that the pointee was correct. llvm-svn: 157544
14 lines
288 B
LLVM
14 lines
288 B
LLVM
; RUN: llc < %s
|
|
; PR5703
|
|
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
|
|
target triple = "msp430-unknown-linux-gnu"
|
|
|
|
define msp430_intrcc void @foo() nounwind {
|
|
entry:
|
|
%fa = call i8* @llvm.frameaddress(i32 0)
|
|
store i8 0, i8* %fa
|
|
ret void
|
|
}
|
|
|
|
declare i8* @llvm.frameaddress(i32)
|