[PATCH] D91092: [SVE][CodeGen] Lower scalable masked gathers

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 06:04:47 PST 2020


sdesmalen added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/sve-masked-gather-32b-unsigned-scaled.ll:11
+; CHECK:       // %bb.0:
+; CHECK-NEXT:    ld1h { z0.d }, p0/z, [x0, z0.d, sxtw #1]
+; CHECK-NEXT:    and z0.d, z0.d, #0xffff
----------------
Another thing I spotted, this should use `uxtw`, or use `sxtw` but then still keep the original zero-extend (`and`).
So something in this patch is a bit too eager in removing the extend.


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

https://reviews.llvm.org/D91092



More information about the llvm-commits mailing list