From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B857E3858C78; Mon, 4 Dec 2023 11:48:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B857E3858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701690528; bh=54o0p7LozU92rCydpfMcbWPODvafsJ/bVzqTy9U9Ndw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Li9wRNUNiwHdd4sfXojlJt5xBjVsW/s9ZJmrhX2vJc8Pwfr7PtWETQE5ZaxTvjgNS QhXAXlXxgwrdNuapotz+fj1rkvE2OSImGtRd0rXxgu6URE2yUVSgUJS8aRbqytk+Fm dI7PWwkgmpnVfGd3BbzyiZj18jn7NUbbjheO653E= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyB0cmVlLW9wdGltaXphdGlvbi8xMTI4MThdIFsxNCByZWdy?= =?UTF-8?B?ZXNzaW9uXSBJQ0Ugd2hlbiBidWlsZGluZyBhY2NlbC1wcHAgKGVycm9yOiBj?= =?UTF-8?B?b252ZXJzaW9uIG9mIHJlZ2lzdGVyIHRvIGEgZGlmZmVyZW50IHNpemUgaW4g?= =?UTF-8?B?4oCYdmlld19jb252ZXJ0X2V4cHLigJksIHZlcmlmeV9naW1wbGUgZmFpbGVk?= =?UTF-8?B?KSBzaW5jZSByMTQtNTA2OC1nODhhY2E5MTdlYjcwNWI=?= Date: Mon, 04 Dec 2023 11:48:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112818 --- Comment #7 from Richard Biener --- So the issue is we're having _8 =3D __builtin_bswap16 (type_6(D)); with short _8 and int type_6 due to C argument promotion applied because of promote_prototypes. Since the arg is an external_def we could have done better and actually demoted it but vectorizable_call decided on a vector type already.=