commit | 5e3293e9a30bd733834e102dae857440cb53a99c | [log] [tgz] |
---|---|---|
author | David Green <david.green@arm.com> | Fri Apr 16 11:52:31 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 13:07:52 2021 -0700 |
tree | 05ff5bd4e7bd5e96ac2bb2864ee5b689de1666e1 | |
parent | 25b9afb5f4a06bea308fbc4623734652e7a1278c [diff] |
[ARM] Combine sub 0, csinc X, Y, CC -> csinv -X, Y, CC Combine sub 0, csinc X, Y, CC to csinv -X, Y, CC providing that the negation of X is cheap, currently just handling constants. This comes up during the splat of an i1 to a predicate, where we now generate csetm, as opposed to cset; rsb. Differential Revision: https://reviews.llvm.org/D99940 GitOrigin-RevId: 00a60454734ceb554baa6da931e18ee07e035939