Skip to content

Commit 395a369

Browse files
committed
[Xtensa] Fix build after splitting SDNode::use_iterator
Same as: 145ddf7
1 parent 1808255 commit 395a369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/Xtensa/XtensaISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ SDValue XtensaTargetLowering::LowerImmediate(SDValue Op,
747747
return Op;
748748
// Check if use node maybe lowered to the ADDMI instruction
749749
SDNode &OpNode = *Op.getNode();
750-
if ((OpNode.hasOneUse() && OpNode.use_begin()->getOpcode() == ISD::ADD) &&
750+
if ((OpNode.hasOneUse() && OpNode.user_begin()->getOpcode() == ISD::ADD) &&
751751
isShiftedInt<16, 8>(Value))
752752
return Op;
753753
Type *Ty = Type::getInt32Ty(*DAG.getContext());

0 commit comments

Comments
 (0)