Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/X86/2010-07-06-asm-RIP.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | 54457678186b |
line wrap: on
line source
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s ; PR 4752 @n = global i32 0 ; <i32*> [#uses=2] define void @f(i32*) nounwind ssp { ret void } define void @g() nounwind ssp { entry: ; CHECK: _g: ; CHECK: push $_f$_f ; CHECK: call _f(%rip) call void asm sideeffect "push\09$1$1\0A\09call\09${1:a}\0A\09pop\09%edx", "imr,i,~{dirflag},~{fpsr},~{flags},~{memory},~{cc},~{edi},~{esi},~{edx},~{ecx},~{ebx},~{eax}"(i32* @n, void (i32*)* @f) nounwind br label %return return: ; preds = %entry ret void }