mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Add testcase for PR5703
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91931 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18ea3a1551
commit
a1508f9514
13
test/CodeGen/MSP430/2009-12-21-FrameAddr.ll
Normal file
13
test/CodeGen/MSP430/2009-12-21-FrameAddr.ll
Normal file
@ -0,0 +1,13 @@
|
||||
; 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 i16* @llvm.frameaddress(i32 0)
|
||||
store i16 0, i16* %fa
|
||||
ret void
|
||||
}
|
||||
|
||||
declare i16* @llvm.frameaddress(i32)
|
Loading…
x
Reference in New Issue
Block a user