[PATCH] D75157: [DAGCombine] Perform the fold of A - (-B) -> A + B only when it is cheaper

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 02:50:34 PST 2020


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/dag-fmf-cse.ll:14
+; CHECK-NEXT:    vmulss %xmm1, %xmm2, %xmm2
+; CHECK-NEXT:    vfmsub213ss {{.*#+}} xmm0 = (xmm1 * xmm0) - xmm2
 ; CHECK-NEXT:    retq
----------------
Annoying - any chance you can investigate?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75157/new/

https://reviews.llvm.org/D75157





More information about the llvm-commits mailing list