diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-05-28 20:40:03 +0000 | 
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-05-28 20:40:03 +0000 | 
| commit | d485c6bc9f9d3d9efa5a6071c11bc8a5ada87e06 (patch) | |
| tree | 89cee870fba8c9c31e80deddb1a66b0c96b8e0b1 /llvm/lib/Target/WebAssembly | |
| parent | 96c9986199f18909742076837604b1b8f0e88639 (diff) | |
| download | bcm5719-llvm-d485c6bc9f9d3d9efa5a6071c11bc8a5ada87e06.tar.gz bcm5719-llvm-d485c6bc9f9d3d9efa5a6071c11bc8a5ada87e06.zip | |
[DAGCombine][X86][AArch64][AMDGPU] (x - y) + -1  ->  add (xor y, -1), x  fold. Try 2
Summary:
This prevents regressions in next patch,
and somewhat recovers from the regression to AMDGPU test in D62223.
It is indeed not great that we leave vector decrement,
don't transform it into vector add all-ones..
https://rise4fun.com/Alive/ZRl
This is a recommit, originally committed in rL361855, but reverted
to investigate test-suite compile-time hangs.
Reviewers: RKSimon, craig.topper, spatel, arsenm
Reviewed By: RKSimon, arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, javed.absar, dstuttard, tpr, t-tye, kristof.beyls, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62263
llvm-svn: 361873
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
0 files changed, 0 insertions, 0 deletions

