[all-commits] [llvm/llvm-project] 9a4f57: [SelectionDAG] Use `EVT::getIntegerVT` in `getBitc...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Mon Jul 1 12:11:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a4f57ec1e6e08db201d42137552b6d97c6d4d25
https://github.com/llvm/llvm-project/commit/9a4f57ec1e6e08db201d42137552b6d97c6d4d25
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
A llvm/test/CodeGen/AMDGPU/no-corresponding-integer-type.ll
Log Message:
-----------
[SelectionDAG] Use `EVT::getIntegerVT` in `getBitcastedAnyExtOrTrunc` (#96658)
`SelectionDAG::getBitcastedAnyExtOrTrunc` assumes that there is always a
valid
integer type corresponding to another type, which is not always true
when it
comes to vector type. For example, `<3 x i8>` doesn't have a
corresponding
integer type.
Fix SWDEV-464698.
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