[PATCH] D153394: [AArch64][GlobalISel] Selection support for v2s16 G_ANYEXT

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 25 08:26:35 PDT 2023


tschuett added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp:420
                         .getReg(0);
-              } else {
+              } else if (OldVT.isInteger() && NewVT.isInteger()) {
                 // Just do a vector extend.
----------------
Could you instead query OldLLT and NewLLT whether they are `isScalar()`? Looks odd to query MVTs in GISel.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153394/new/

https://reviews.llvm.org/D153394



More information about the llvm-commits mailing list