[PATCH] D62691: [DAGCombine] ((c1-A)-c2) -> ((c1-c2)-A) constant-fold

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 10:18:50 PDT 2019


lebedev.ri created this revision.
lebedev.ri added reviewers: t.p.northover, RKSimon, spatel, craig.topper.
lebedev.ri added a project: LLVM.
Herald added a subscriber: javed.absar.

https://rise4fun.com/Alive/B0A


Repository:
  rL LLVM

https://reviews.llvm.org/D62691

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/addsub-constant-folding.ll
  test/CodeGen/X86/addsub-constant-folding.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62691.202235.patch
Type: text/x-patch
Size: 5987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190530/71a32a9c/attachment.bin>


More information about the llvm-commits mailing list