]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/109672 - properly check emulated plus during vect
authorRichard Biener <rguenther@suse.de>
Tue, 2 May 2023 08:34:48 +0000 (10:34 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 2 May 2023 09:54:00 +0000 (11:54 +0200)
commitf385252b2336a4a57a30fddf82e558c73bcc85cc
tree790619cdf3037c47048ceace05b656b143132677
parent59912ce42eee7f763f8b85f5aa4fd4fcbcffe5b7
tree-optimization/109672 - properly check emulated plus during vect

The following refactors the check for emulated vector support for
the cases of plus, minus and negate.  In the PR we end up with
a SImode plus, supported by the target but emulated and in this
context fail to verify we are dealing with exactly word_mode.

PR tree-optimization/109672
* tree-vect-stmts.cc (vectorizable_operation): For plus,
minus and negate always check the vector mode is word mode.
gcc/tree-vect-stmts.cc
This page took 0.060112 seconds and 5 git commands to generate.