mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Add support for the X86 'l' constraint.
Fixes PR10149 and rdar://9738585 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -23,3 +23,10 @@ define void @test4() nounwind {
|
||||
tail call void asm sideeffect "bork $0", "J"(i32 37) nounwind
|
||||
ret void
|
||||
}
|
||||
|
||||
; rdar://9738585
|
||||
define i32 @test5() nounwind {
|
||||
entry:
|
||||
%0 = tail call i32 asm "test", "=l,~{dirflag},~{fpsr},~{flags}"() nounwind
|
||||
ret i32 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user