]> git.ipfire.org Git - thirdparty/gcc.git/commit
[AArch64] Simplify SVE IFN_COND patterns
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 2019 14:47:42 +0000 (14:47 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 2019 14:47:42 +0000 (14:47 +0000)
commit05049c9b1c58211b0ef68253b5c38e473313d194
treeb8426319a68dcbbac69dfb62873e25dd232bff46
parentdd4bb07e8bd61f0607ad943176b43204bef98930
[AArch64] Simplify SVE IFN_COND patterns

This patch makes the binary IFN_COND patterns use the same approach
as the ternary patterns, with one pattern handling the cases in
which the "else" value isn't tied to one of the other inputs.

2019-06-18  Richard Sandiford  <richard.sandiford@arm.com>
    Kugan Vivekanandarajah  <kuganv@linaro.org>

gcc/
* config/aarch64/aarch64-sve.md (*cond_<optab><mode>_0): Delete.
(*cond_<optab><mode>_z): Fold into...
(*cond_<optab><mode>_any): ...here.  Also handle cases in which
operand 4 can be tied to operand 0 (either inherently or via RA).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272423 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/aarch64/aarch64-sve.md