[llvm] [GlobalISel] Make scalar G_SHUFFLE_VECTOR illegal. (PR #140508)

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 14:49:19 PDT 2025


================
@@ -3330,6 +3330,51 @@ bool IRTranslator::translateShuffleVector(const User &U,
     Mask = SVI->getShuffleMask();
   else
     Mask = cast<ConstantExpr>(U).getShuffleMask();
+
----------------
aemerson wrote:

For future readers some comments here would be useful to quickly parse that the code is trying to do.

https://github.com/llvm/llvm-project/pull/140508


More information about the llvm-commits mailing list