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

Matt Arsenault Matthew.Arsenault at amd.com
Fri Jun 5 09:04:25 PDT 2015


In http://reviews.llvm.org/D10277#184262, @escha wrote:

> I think the only in-tree target that uses isFNegFree is R600; should I try to come up with an R600 test case? I've never worked on that backend.


Yes, it should be effected. It should be easy to copy one of the tests for this (probably fmul.ll is simplest)


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