We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb14638 commit d497766Copy full SHA for d497766
llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
@@ -604,8 +604,10 @@ void HexagonCommonGEP::common() {
604
uint32_t NF = N->Flags;
605
// If N is used, append all original values of N to the list of
606
// original values of Min.
607
- if (NF & GepNode::Used)
608
- MinUs.insert(Uses[N].begin(), Uses[N].end());
+ if (NF & GepNode::Used) {
+ auto &U = Uses[N];
609
+ MinUs.insert(U.begin(), U.end());
610
+ }
611
Flags |= NF;
612
}
613
if (MinUs.empty())
0 commit comments