1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-apple-macosx10.14.0 -mattr=mmx | FileCheck %s
4 define i32 @foo(i32 %a) {
6 ; CHECK: ## %bb.0: ## %entry
7 ; CHECK-NEXT: ## InlineAsm Start
8 ; CHECK-NEXT: movd %edi, %mm0
9 ; CHECK-NEXT: ## InlineAsm End
10 ; CHECK-NEXT: movd %mm0, %eax
13 %0 = tail call i32 asm sideeffect "movd $1, $0", "=y,r,~{dirflag},~{fpsr},~{flags}"(i32 %a)