[PATCH] D124014: [AArch64] Correct isLegalAddressingMode for ldp/stp

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 10:26:39 PDT 2022


bcl5980 added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:13217
+  // ldp/stp don't support scale
+  if (Ty->isSized() && DL.getTypeSizeInBits(Ty) > 64)
+    return false;
----------------
I'm not sure if we have better way to check here. Can someone help to find some other clean solution?


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

https://reviews.llvm.org/D124014



More information about the llvm-commits mailing list