[PATCH] D124734: [AMDGPU] Fix scalar_to_vector for v8i16/v8f16
Mahesha S via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 2 13:17:29 PDT 2022
hsmhsm marked 2 inline comments as done.
hsmhsm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:5978
+
+ return lowerBUILD_VECTOR(DAG.getBuildVector(ResultVT, SL, VElts), DAG);
+}
----------------
arsenm wrote:
> Just return the build_vecotr. You are potentially missing combine opportunities by directly lowering it
This again giving same ISA for (new) lit tests which we were getting when lowered to insert_subreg.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124734/new/
https://reviews.llvm.org/D124734
More information about the llvm-commits
mailing list