[AArch64] Add indexed check to splitStores. NFC.

Add explicit check for unhandled cases in preparation for delaying
splitStores to post-legalization.

llvm-svn: 305471
This commit is contained in:
Nirav Dave 2017-06-15 14:47:44 +00:00
parent b98cb3808c
commit 85e92223b4
1 changed files with 1 additions and 1 deletions

View File

@ -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();