]> git.ipfire.org Git - thirdparty/gcc.git/commit
Match: Adjust the unsigned SAT_MUL pattern
authorPan Li <pan2.li@intel.com>
Mon, 8 Sep 2025 14:32:12 +0000 (22:32 +0800)
committerPan Li <pan2.li@intel.com>
Mon, 15 Sep 2025 23:06:11 +0000 (07:06 +0800)
commit982eccec4cfe6abdf7bf415c11a4426709c135f8
tree279c9bcaae69517a02856a15f516500c4b0efbb7
parentd0526e8ef0d92e93b956acb731e212a39106ef0a
Match: Adjust the unsigned SAT_MUL pattern

The widen-mul removed the unnecessary cast, thus adjust the
SAT_MUL of wide-mul to a simpler form.

gcc/ChangeLog:

* match.pd: Remove unnecessary cast of unsigned
SAT_MUL for widen-mul.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/match.pd