mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-06 17:47:37 +00:00
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:
parent
2d2221d7fb
commit
6b4391cd9c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user