mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Add testcase for 'r' inline asm operand
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57361 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f03c5afc81
commit
22df84a337
14
test/CodeGen/SPARC/2008-10-10-InlineAsmRegOperand.ll
Normal file
14
test/CodeGen/SPARC/2008-10-10-InlineAsmRegOperand.ll
Normal file
@ -0,0 +1,14 @@
|
||||
; RUN: llvm-as < %s | llc -march=sparc
|
||||
; PR 1557
|
||||
|
||||
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f128:128:128"
|
||||
module asm "\09.section\09\22.ctors\22,#alloc,#write"
|
||||
module asm "\09.section\09\22.dtors\22,#alloc,#write"
|
||||
|
||||
define void @frame_dummy() nounwind {
|
||||
entry:
|
||||
%asmtmp = tail call void (i8*)* (void (i8*)*)* asm "", "=r,0"(void (i8*)* @_Jv_RegisterClasses) nounwind ; <void (i8*)*> [#uses=0]
|
||||
unreachable
|
||||
}
|
||||
|
||||
declare void @_Jv_RegisterClasses(i8*)
|
Loading…
Reference in New Issue
Block a user