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:
parent
7b1c02ad5d
commit
d3a96ba00d
@ -11320,8 +11320,7 @@ void DAGCombiner::getStoreMergeAndAliasCandidates(
|
||||
break;
|
||||
|
||||
// No truncation.
|
||||
if (StoreSDNode *St = dyn_cast<StoreSDNode>(Index))
|
||||
if (St->isTruncatingStore())
|
||||
if (Index->isTruncatingStore())
|
||||
break;
|
||||
|
||||
// The stored memory type must be the same.
|
||||
|
Loading…
Reference in New Issue
Block a user