[PATCH] D80720: [CodeGen,AArch64] Fix up warnings in splitStores

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 23:57:56 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG30dfbf03a206: [CodeGen,AArch64] Fix up warnings in splitStores (authored by david-arm).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80720

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
@@ -12138,7 +12138,8 @@
 
   SDValue StVal = S->getValue();
   EVT VT = StVal.getValueType();
-  if (!VT.isVector())
+
+  if (!VT.isFixedLengthVector())
     return SDValue();
 
   // If we get a splat of zeros, convert this vector store to a store of


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80720.269419.patch
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200609/00b2f414/attachment.bin>


More information about the llvm-commits mailing list