brintos

brintos / llvm-project-archived public Read only

0
0
Text · 582 B · c251d10 Raw
18 lines · plain
1; RUN: llc < %s -mtriple=x86_64-linux   | FileCheck %s2; RUN: llc < %s -mtriple=x86_64-win32   | FileCheck %s3; RUN: llc < %s -mtriple=i686-- -mattr=-sse2 | FileCheck %s4; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s5 6; This test should use GPRs to copy the mmx value, not MMX regs.  Using mmx regs,7; increases the places that need to use emms.8; CHECK-NOT: %mm9; CHECK-NOT: emms10; rdar://574166811 12define void @foo(ptr %x, ptr %y) nounwind  {13entry:14	%tmp1 = load <1 x i64>, ptr %y, align 8		; <<1 x i64>> [#uses=1]15	store <1 x i64> %tmp1, ptr %x, align 816	ret void17}18