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 c547041 commit cf19ca1Copy full SHA for cf19ca1
llvm/lib/Target/M68k/M68kISelLowering.cpp
@@ -1849,10 +1849,10 @@ static bool hasNonFlagsUse(SDValue Op) {
1849
for (SDNode::use_iterator UI = Op->use_begin(), UE = Op->use_end(); UI != UE;
1850
++UI) {
1851
SDNode *User = UI->getUser();
1852
- unsigned UOpNo = UI.getOperandNo();
+ unsigned UOpNo = UI->getOperandNo();
1853
if (User->getOpcode() == ISD::TRUNCATE && User->hasOneUse()) {
1854
- // Look pass truncate.
1855
- UOpNo = User->use_begin().getOperandNo();
+ // Look past truncate.
+ UOpNo = User->use_begin()->getOperandNo();
1856
User = User->use_begin()->getUser();
1857
}
1858
0 commit comments