[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 11:11:47 PDT 2019


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

LGTM. I dont' think this causes a functional change. At best its a very minor compile time improvement.


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