Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/MSP430/2009-12-21-FrameAddr.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | 95c75e76d11b |
children | c2174574ed3a |
rev | line source |
---|---|
0 | 1 ; RUN: llc < %s |
2 ; PR5703 | |
3 target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8" | |
4 target triple = "msp430-unknown-linux-gnu" | |
5 | |
6 define msp430_intrcc void @foo() nounwind { | |
7 entry: | |
8 %fa = call i8* @llvm.frameaddress(i32 0) | |
9 store i8 0, i8* %fa | |
10 ret void | |
11 } | |
12 | |
13 declare i8* @llvm.frameaddress(i32) |