mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
DAGCombiner: Use pop_back_val()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240709 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b24bbb73a7
commit
5bf34efcce
@ -13915,8 +13915,7 @@ void DAGCombiner::GatherAllAliases(SDNode *N, SDValue OriginalChain,
|
||||
// aliases list. If not, then continue up the chain looking for the next
|
||||
// candidate.
|
||||
while (!Chains.empty()) {
|
||||
SDValue Chain = Chains.back();
|
||||
Chains.pop_back();
|
||||
SDValue Chain = Chains.pop_back_val();
|
||||
|
||||
// For TokenFactor nodes, look at each operand and only continue up the
|
||||
// chain until we find two aliases. If we've seen two aliases, assume we'll
|
||||
|
Loading…
Reference in New Issue
Block a user