1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

SelectionDAG: Remove a tautological dyn_cast. NFC

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

llvm-svn: 264177
This commit is contained in:
Justin Bogner 2016-03-23 18:15:33 +00:00
parent 7b1c02ad5d
commit d3a96ba00d

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)