mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
229baffc4e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34938 91177308-0d34-0410-b5e6-96231b3b80d8
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()
|