diff options
author | Pan Li <pan2.li@intel.com> | 2024-11-11 16:44:24 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2024-11-21 22:15:50 +0800 |
commit | fbca864a7bfff9f848733f676c3c9df133fba4b0 (patch) | |
tree | 3573e6892181196af3ef9571cde7a68283be14cd /gcc/function.cc | |
parent | dbc38dd9e96a9995298da2478041bdbbf247c479 (diff) | |
download | gcc-fbca864a7bfff9f848733f676c3c9df133fba4b0.zip gcc-fbca864a7bfff9f848733f676c3c9df133fba4b0.tar.gz gcc-fbca864a7bfff9f848733f676c3c9df133fba4b0.tar.bz2 |
Match: Refactor the unsigned SAT_ADD match pattern [NFC]
This patch would like to refactor the unsigned SAT_ADD pattern by:
* Extract type check outside.
* Extract common sub pattern.
* Re-arrange the related match pattern forms together.
* Remove unnecessary helper pattern matches.
The below test suites are passed for this patch.
* The rv64gcv fully regression test.
* The x86 bootstrap test.
* The x86 fully regression test.
gcc/ChangeLog:
* match.pd: Refactor sorts of unsigned SAT_ADD match pattern.
Signed-off-by: Pan Li <pan2.li@intel.com>
Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions