[all-commits] [llvm/llvm-project] ac3dbb: DAG: Fix assert when legalizing v3f16 ldexp
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Jun 28 12:23:54 PDT 2024
Branch: refs/heads/users/arsenm/dag-fix-legalization-ldexp-v3f16
Home: https://github.com/llvm/llvm-project
Commit: ac3dbbffbd191e08f1dec4f9271a1ea3ec512d72
https://github.com/llvm/llvm-project/commit/ac3dbbffbd191e08f1dec4f9271a1ea3ec512d72
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/AMDGPU/llvm.ldexp.ll
Log Message:
-----------
DAG: Fix assert when legalizing v3f16 ldexp
For the v3f16.v3i32 case, the v3f16 would request widening
to v4f16, but the v3i32 does not require widening to be a legal
type, so GetWidenedVector would fail. We need to widen the exponent
vector to the same element count as the result.
Fixes: SWDEV-470951
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list