[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 06:31:06 PDT 2020


david-arm updated this revision to Diff 269193.
david-arm marked an inline comment as done.

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
@@ -12135,7 +12135,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.269193.patch
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200608/4b567d4e/attachment-0001.bin>


More information about the llvm-commits mailing list