SelectionDAG: Remove a tautological dyn_cast. NFC

Index is already a StoreSDNode, so this dyn_cast doesn't do anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Justin Bogner 2016-03-23 18:15:33 +00:00
parent 2d2221d7fb
commit 6b4391cd9c

View File

@ -11320,9 +11320,8 @@ void DAGCombiner::getStoreMergeAndAliasCandidates(
break;
// No truncation.
if (StoreSDNode *St = dyn_cast<StoreSDNode>(Index))
if (St->isTruncatingStore())
break;
if (Index->isTruncatingStore())
break;
// The stored memory type must be the same.
if (Index->getMemoryVT() != MemVT)