[X86] Fix patterns for memory forms of FP FSUBR and FDIVR. They need to have memory...
authorCraig Topper <craig.topper@gmail.com>
Tue, 1 Dec 2015 06:13:16 +0000 (06:13 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 1 Dec 2015 06:13:16 +0000 (06:13 +0000)
commitc8fda7a60ac134e3658d9db112319897b8a6f36f
tree2b58b6f9274bd538e714eb875fd699b324ebdfda
parentb676925e7b5b51a5dda9b5af06594a830ae8915a
[X86] Fix patterns for memory forms of FP FSUBR and FDIVR. They need to have memory on the left hand side of the fsub/fdiv operations in their patterns.

Not sure how to test this. I noticed by inspection in the isel tables where the same pattern tried to produce DIV and DIVR or SUB and SUBR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254388 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrFPStack.td