[PATCH] D107057: [llvm][sve] Lowering for VLS extending loads

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 08:41:08 PDT 2021


bsmith added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/sve-fixed-length-ext-loads.ll:50-63
+
+  ; Ensure sensible type legalistaion
+  ; VBITS_EQ_256-DAG: ptrue [[PG:p[0-9]+]].h, vl16
+  ; VBITS_EQ_256-DAG: ld1h { [[Z0:z[0-9]+]].h }, [[PG]]/z, [x0]
+  ; VBITS_EQ_256-DAG: mov x9, sp
+  ; VBITS_EQ_256-DAG: st1h { [[Z0]].h }, [[PG]], [x9]
+  ; VBITS_EQ_256-DAG: ldp q[[R0:[0-9]+]], q[[R1:[0-9]+]], [sp]
----------------
The codegen in the type legalisation cases seems a bit odd, why is this not using SVE to do the extending load?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107057



More information about the llvm-commits mailing list