[PATCH] D77758: [SVE] Remove calls to isScalable from AARCH64

Christopher Tetreault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 13:36:01 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG84584b0d29a5: [SVE] Remove calls to isScalable from AARCH64 (authored by ctetreau).
Herald added a subscriber: danielkiss.

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77758

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp


Index: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
===================================================================
--- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -9728,7 +9728,7 @@
     return false;
 
   // FIXME: Update this method to support scalable addressing modes.
-  if (Ty->isVectorTy() && cast<VectorType>(Ty)->isScalable())
+  if (isa<ScalableVectorType>(Ty))
     return AM.HasBaseReg && !AM.BaseOffs && !AM.Scale;
 
   // check reg + imm case:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77758.259694.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200423/121bae2d/attachment.bin>


More information about the llvm-commits mailing list