diff options
author | Pan Li <pan2.li@intel.com> | 2024-11-25 09:21:24 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2024-11-27 22:25:43 +0800 |
commit | 83f200fa7a8ad905e47b2344065406f32730646b (patch) | |
tree | a796f0821233edae3c314e8490b73541bb37ed6e /gcc/c/c-parser.cc | |
parent | eaa675ad3f0a033537440f93172a7b122c04cab5 (diff) | |
download | gcc-83f200fa7a8ad905e47b2344065406f32730646b.zip gcc-83f200fa7a8ad905e47b2344065406f32730646b.tar.gz gcc-83f200fa7a8ad905e47b2344065406f32730646b.tar.bz2 |
Match: Refactor the unsigned SAT_ADD match ADD_OVERFLOW pattern [NFC]
This patch would like to refactor the unsigned SAT_ADD pattern when
leverage the IFN ADD_OVERFLOW, aka:
* Extract type check outside.
* 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 for
IFN ADD_OVERFLOW.
Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/c/c-parser.cc')
0 files changed, 0 insertions, 0 deletions