The commutative flag is already correctly set within the multiclass. If we set
authorBill Wendling <isanbard@gmail.com>
Tue, 28 Aug 2012 07:36:46 +0000 (07:36 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 28 Aug 2012 07:36:46 +0000 (07:36 +0000)
commiteeba6e83175d7835f3648c30a44c2ca12116d40b
treef1531a2ee627e4c94d8a41218643befa2e37cc05
parentd90219463154cafb5d626b7964bf20e572a186df
The commutative flag is already correctly set within the multiclass. If we set
it here, then a 'register-memory' version would wrongly get the commutative
flag.
<rdar://problem/12180135>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162741 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/2012-08-28-UnsafeMathCrash.ll [new file with mode: 0644]