[PATCH] D105935: [AArch64][GlobalISel] Legalize bswap <2 x i16>

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 10:02:34 PDT 2021


paquette added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp:1009
+  const LLT s32 = LLT::scalar(32);
+  assert(LLT::fixed_vector(2, 16) == MRI.getType(ValReg));
+
----------------
Do you think you could add an explanation somewhere for why the v2s16 case is special?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105935



More information about the llvm-commits mailing list