diff options
author | Richard Biener <rguenther@suse.de> | 2024-05-02 13:55:15 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-05-03 08:19:51 +0200 |
commit | 87e35da16df74cd1c4729a55d94e7bc592487f48 (patch) | |
tree | 9480fb06a30c630224da93291ebe4b9a139fcdb3 /gcc/tree-inline.cc | |
parent | f04dc89a991ddc6c08ac92c8ad29c6915c4ecafa (diff) | |
download | gcc-87e35da16df74cd1c4729a55d94e7bc592487f48.zip gcc-87e35da16df74cd1c4729a55d94e7bc592487f48.tar.gz gcc-87e35da16df74cd1c4729a55d94e7bc592487f48.tar.bz2 |
tree-optimization/114921 - _Float16 -> __bf16 isn't noop
The vectorizer handles a _Float16 to __bf16 conversion through
vectorizable_assignment, thinking it's a noop. The following
fixes this by requiring the same vector component mode when
checking for CONVERT_EXPR_CODE_P, being stricter than for
VIEW_CONVERT_EXPR.
PR tree-optimization/114921
* tree-vect-stmts.cc (vectorizable_assignment): Require
same vector component modes for input and output for
CONVERT_EXPR_CODE_P.
Diffstat (limited to 'gcc/tree-inline.cc')
0 files changed, 0 insertions, 0 deletions