[PATCH] DAGCombiner: don't duplicate (fmul x, c) when folding fneg if fneg is free

Matthias Braun matze at braunis.de
Fri Jun 5 11:11:37 PDT 2015


I would say the hasOneUse() check makes sense even in the TLI.isFNegFree() == false case (it's not TLI.NegIsWayMoreExpensiveThanMul() after all).


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10277

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list