[all-commits] [llvm/llvm-project] 11d7ab: DAG: Fix assert when legalizing v3f16 ldexp
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Jun 28 12:23:09 PDT 2024
Branch: refs/heads/users/arsenm/dag-fix-legalization-ldexp-v3f16
Home: https://github.com/llvm/llvm-project
Commit: 11d7abee2dc34fe844223df1860ba05e4e230708
https://github.com/llvm/llvm-project/commit/11d7abee2dc34fe844223df1860ba05e4e230708
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.
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