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

qshanz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 17:39:52 PST 2020


steven.zhang abandoned this revision.
steven.zhang added a comment.

Seems that we indeed see some regression and 'add' has some benefit on the register pressure over sub as it is commutable. I will abandon this revision,  Thank you for all the comments.


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