mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
12 lines
214 B
LLVM
12 lines
214 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx | grep emms
|
||
|
define void @foo() {
|
||
|
entry:
|
||
|
call void @llvm.x86.mmx.emms( )
|
||
|
br label %return
|
||
|
|
||
|
return: ; preds = %entry
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
declare void @llvm.x86.mmx.emms()
|