Files
llvm/test/CodeGen/SystemZ
Roman Lebedev 7728af49e5 [DAGCombiner][X86][AArch64][SPARC][SystemZ] y - (x + C) -> (y - x) - C fold
Summary:
Direct sibling of D62223 patch.
While i don't have a direct motivational pattern for this,
it would seem to make sense to handle both patterns (or none),
for symmetry?

The aarch64 changes look neutral;
sparc and systemz look like improvement (one less instruction each);
x86 changes - 32bit case improves, 64bit case shows that LEA no longer
gets constructed, which may be because that whole test is `-mattr=+slow-lea,+slow-3ops-lea`

https://rise4fun.com/Alive/ffh

Reviewers: RKSimon, craig.topper, spatel, t.p.northover

Reviewed By: t.p.northover

Subscribers: t.p.northover, jyknight, javed.absar, kristof.beyls, fedor.sergeev, jrtc27, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62252

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361853 91177308-0d34-0410-b5e6-96231b3b80d8
2019-05-28 17:53:54 +00:00
..
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2013-07-19 16:24:22 +00:00
2018-07-20 12:12:10 +00:00
2017-10-06 13:59:28 +00:00
2015-10-10 07:14:24 +00:00
2018-07-20 12:12:10 +00:00
2016-08-08 18:11:13 +00:00
2018-10-27 15:00:38 +00:00
2018-10-27 15:00:38 +00:00
2013-07-19 16:32:12 +00:00
2013-07-19 16:32:12 +00:00
2019-03-14 11:56:41 +00:00
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2013-07-19 16:24:22 +00:00
2018-07-20 12:12:10 +00:00
2016-06-23 21:18:59 +00:00
2016-10-19 16:58:59 +00:00
2017-10-06 13:59:28 +00:00
2017-10-06 13:59:28 +00:00
2017-10-06 13:59:28 +00:00
2016-06-10 19:58:10 +00:00
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2018-07-20 12:12:10 +00:00
2013-07-19 16:24:22 +00:00
2018-07-20 12:12:10 +00:00