[X86] Fix non-intrinsic roundss/roundsd to not read the destination register
authorMichael Kuperstein <mkuper@google.com>
Mon, 5 Dec 2016 20:57:37 +0000 (20:57 +0000)
committerMichael Kuperstein <mkuper@google.com>
Mon, 5 Dec 2016 20:57:37 +0000 (20:57 +0000)
commite3036abcf9cd9bea3d2c08f609852e31e9ee9559
tree59a8b9436c7ae8918279cbea0d0c13d76e83d206
parent35ac8bab7bc835aa5810fa2914193e96dd5fa0d9
[X86] Fix non-intrinsic roundss/roundsd to not read the destination register

This changes the scalar non-intrinsic non-avx roundss/sd instruction
definitions not to read their destination register - allowing partial dependency
breaking.

This fixes PR31143.

Differential Revision: https://reviews.llvm.org/D27323

llvm-svn: 288703
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrSSE.td
llvm/test/CodeGen/X86/pr31143.ll [new file with mode: 0644]