Skip to content
Snippets Groups Projects
Commit fbca864a authored by Pan Li's avatar Pan Li
Browse files

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: default avatarPan Li <pan2.li@intel.com>
Signed-off-by: default avatarPan Li <pan2.li@intel.com>
parent dbc38dd9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment