diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2018-10-16 17:28:56 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2018-10-16 17:28:56 +0000 |
commit | 21cebf90b6547434d1ccb3f09287d02c1e8d2004 (patch) | |
tree | 670b879f6905ab578eadac730317d86517e680b4 /gcc/fortran/trans-stmt.c | |
parent | 436ea0e5d316be9867bb23db70a09e12107c0d7d (diff) | |
download | gcc-21cebf90b6547434d1ccb3f09287d02c1e8d2004.zip gcc-21cebf90b6547434d1ccb3f09287d02c1e8d2004.tar.gz gcc-21cebf90b6547434d1ccb3f09287d02c1e8d2004.tar.bz2 |
[AArch64] Use @ pattern to eliminate switch statement in one more place
We can use the new '@' modifier to MD patterns to generate mode-parametrised gen_ functions
for the despeculate_copy patterns and therefore remove the switch on modes in aarch64.c
that is used to pick the right generator. This simplifies the code.
* config/aarch64/aarch64.md (despeculate_copy<ALLI_TI:mode>):
Rename to...
(@despeculate_copy<ALLI_TI:mode>): ... This.
* config/aarch64/aarch64.c (aarch64_speculation_safe_value): Remove
switch statement.
From-SVN: r265210
Diffstat (limited to 'gcc/fortran/trans-stmt.c')
0 files changed, 0 insertions, 0 deletions