add support for the "r" asm constraint

patch by Lauro Ramos Venancio


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2006-12-05 17:37:31 +00:00
parent af21f4f6f9
commit 462af9a2e0
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
; RUN: llvm-as < %s | llc -march=arm
void %frame_dummy() {
entry:
%tmp1 = tail call void (sbyte*)* (void (sbyte*)*)* asm "", "=r,0,~{dirflag},~{fpsr},~{flags}"( void (sbyte*)* null )
ret void
}