Skip to content

Commit

Permalink
[X86] Don't use loadv2i64 on SSE version of PMULHRSW. Use memopv2i64 …
Browse files Browse the repository at this point in the history
…instead.

This bug was introduced in r285501.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285510 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
topperc committed Oct 30, 2016
1 parent 37111b2 commit 0a87051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/X86/X86InstrSSE.td
Original file line number Diff line number Diff line change
Expand Up @@ -5710,7 +5710,7 @@ let isCommutable = 0 in {
SSE_PMADD, memopv2i64>;
}
defm PMULHRSW : SS3I_binop_rm<0x0B, "pmulhrsw", X86mulhrs, v8i16, VR128,
loadv2i64, i128mem, SSE_PMULHRSW>;
memopv2i64, i128mem, SSE_PMULHRSW>;
}

//===---------------------------------------------------------------------===//
Expand Down

0 comments on commit 0a87051

Please sign in to comment.