1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- -mattr=+mmx | FileCheck %s
4 ; Check that widening doesn't introduce a mmx register in this case when
5 ; a simple load/store would suffice.
7 define void @foo(ptr %A, ptr %B) {
9 ; CHECK: # %bb.0: # %entry
10 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
11 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %ecx
12 ; CHECK-NEXT: movl (%ecx), %ecx
13 ; CHECK-NEXT: movl %ecx, (%eax)
16 %tmp1 = load <2 x i16>, ptr %A ; <<2 x i16>> [#uses=1]
17 store <2 x i16> %tmp1, ptr %B