[PATCH] D62661: [DAGCombine] Use FoldConstantArithmetic() to perform ((c1-A)+c2) -> (c1+c2)-A fold

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 10:47:39 PDT 2019


craig.topper added a comment.

I'm not sure what this FIXME was trying to say. getNode should detect the constants and call FoldConstantArithmetic anyway. @spatel?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62661





More information about the llvm-commits mailing list