[PATCH] D124734: [AMDGPU] Fix scalar_to_vector for v8i16/v8f16

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 12:02:36 PDT 2022


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:5973
+  // anything. However, we just insert SVal itself for these remaining seven
+  // locations, but, it does not matter.
+  SmallVector<SDValue, 8> VElts;
----------------
Why not undef? It is less operations.


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