Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/X86/GC/fat.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 803732b1fca8 |
line wrap: on
line source
; RUN: not llvm-as < %s >& /dev/null declare void @llvm.gcroot(i8**, i8*) nounwind define void @f() gc "x" { %st = alloca { i8*, i1 } ; <{ i8*, i1 }*> [#uses=1] %st_ptr = bitcast { i8*, i1 }* %st to i8** ; <i8**> [#uses=1] call void @llvm.gcroot(i8** %st_ptr, i8* null) ret void }