diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-04 22:37:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-04 22:37:48 +0000 |
commit | f34208b8b1dd88304e515f539a6b190a84d0a122 (patch) | |
tree | ab2179ab346ea9bf946df4068cd87a26b2927372 /test | |
parent | efc7e52183a384917ff4deac06e829433602150a (diff) | |
download | external_llvm-f34208b8b1dd88304e515f539a6b190a84d0a122.zip external_llvm-f34208b8b1dd88304e515f539a6b190a84d0a122.tar.gz external_llvm-f34208b8b1dd88304e515f539a6b190a84d0a122.tar.bz2 |
Testcase for PR1029, patch by Rafael vila de EspÃndola
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/x86-64-asm.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/X86/x86-64-asm.ll b/test/CodeGen/X86/x86-64-asm.ll new file mode 100644 index 0000000..e5b293e --- /dev/null +++ b/test/CodeGen/X86/x86-64-asm.ll @@ -0,0 +1,15 @@ +; RUN: llvm-as < %s | llc +; PR1029 + +target datalayout = "e-p:64:64" +target endian = little +target pointersize = 64 +target triple = "x86_64-unknown-linux-gnu" + +implementation ; Functions: + +void %frame_dummy() { +entry: + %tmp1 = tail call void (sbyte*)* (void (sbyte*)*)* asm "", "=r,0,~{dirflag},~{fpsr},~{flags}"( void (sbyte*)* null ) ; <void (sbyte*)*> [#uses=0] + ret void +} |