aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2017-06-15 14:47:44 +0000
committerNirav Dave <niravd@google.com>2017-06-15 14:47:44 +0000
commit85e92223b453044ba5692fb78b0411a2fa0a7d57 (patch)
tree8f249d5fa47665fae668b5b0b73a1954842f2d9c
parentb98cb3808caeeeac5d70d7bc8e969cf26b104b22 (diff)
downloadllvm-85e92223b453044ba5692fb78b0411a2fa0a7d57.zip
llvm-85e92223b453044ba5692fb78b0411a2fa0a7d57.tar.gz
llvm-85e92223b453044ba5692fb78b0411a2fa0a7d57.tar.bz2
[AArch64] Add indexed check to splitStores. NFC.
Add explicit check for unhandled cases in preparation for delaying splitStores to post-legalization. llvm-svn: 305471
-rw-r--r--llvm/lib/Target/AArch64/AArch64ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 059556a..083ca21 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -9366,7 +9366,7 @@ static SDValue splitStores(SDNode *N, TargetLowering::DAGCombinerInfo &DCI,
return SDValue();
StoreSDNode *S = cast<StoreSDNode>(N);
- if (S->isVolatile())
+ if (S->isVolatile() || S->isIndexed())
return SDValue();
SDValue StVal = S->getValue();