[llvm] r305471 - [AArch64] Add indexed check to splitStores. NFC.
Nirav Dave via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 07:47:44 PDT 2017
Author: niravd
Date: Thu Jun 15 09:47:44 2017
New Revision: 305471
URL: http://llvm.org/viewvc/llvm-project?rev=305471&view=rev
Log:
[AArch64] Add indexed check to splitStores. NFC.
Add explicit check for unhandled cases in preparation for delaying
splitStores to post-legalization.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp?rev=305471&r1=305470&r2=305471&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp Thu Jun 15 09:47:44 2017
@@ -9366,7 +9366,7 @@ static SDValue splitStores(SDNode *N, Ta
return SDValue();
StoreSDNode *S = cast<StoreSDNode>(N);
- if (S->isVolatile())
+ if (S->isVolatile() || S->isIndexed())
return SDValue();
SDValue StVal = S->getValue();
More information about the llvm-commits
mailing list