Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/X86/read-fp-no-frame-pointer.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 | afa8332a0e37 |
children |
line wrap: on
line source
; RUN: not llc < %s -mtriple=x86_64-linux-gnueabi 2>&1 | FileCheck %s define i32 @get_frame() nounwind { entry: ; CHECK: register ebp is allocatable: function has no frame pointer %fp = call i32 @llvm.read_register.i32(metadata !0) ret i32 %fp } declare i32 @llvm.read_register.i32(metadata) nounwind !0 = !{!"ebp\00"}