[llvm] [AMDGPU] Simplify lowerBUILD_VECTOR (PR #109094)
Piotr Sobczak via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 00:38:22 PDT 2024
================
@@ -7443,54 +7443,49 @@ SDValue SITargetLowering::lowerBUILD_VECTOR(SDValue Op,
SDLoc SL(Op);
EVT VT = Op.getValueType();
- if (VT == MVT::v4i16 || VT == MVT::v4f16 || VT == MVT::v4bf16 ||
- VT == MVT::v8i16 || VT == MVT::v8f16 || VT == MVT::v8bf16 ||
- VT == MVT::v16i16 || VT == MVT::v16f16 || VT == MVT::v16bf16 ||
- VT == MVT::v32i16 || VT == MVT::v32f16 || VT == MVT::v32bf16) {
+ if (VT == MVT::v2f16 || VT == MVT::v2i16 || VT == MVT::v2bf16) {
----------------
piotrAMD wrote:
This commit just reorders the code, so v2* code goes at the beginning.
https://github.com/llvm/llvm-project/pull/109094
More information about the llvm-commits
mailing list