mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
2aa1b01d02
Fixes PR43575. llvm-svn: 373836
15 lines
361 B
LLVM
15 lines
361 B
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.14.0 -O0 | FileCheck %s
|
|
|
|
define void @exit(i32 %status)
|
|
; CHECK-LABEL: exit:
|
|
; CHECK: ## %bb.0:
|
|
; CHECK: ## InlineAsm Start
|
|
; CHECK: movq $60, %rax
|
|
; CHECK: syscall
|
|
; CHECK: ## InlineAsm End
|
|
; CHECK: retq
|
|
{
|
|
call void asm sideeffect inteldialect "mov rax, 60; syscall", ""()
|
|
ret void
|
|
}
|