Skip to content

Commit

Permalink
[VE] Fix SDNode user loop after efa896e
Browse files Browse the repository at this point in the history
Rewriting SDNode user loops broke VEISelLowering (commit efa896e).
This fixes it.
  • Loading branch information
simoll committed Nov 15, 2021
1 parent f835fe8 commit 7cf887b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/VE/VEISelLowering.cpp
Expand Up @@ -2513,7 +2513,7 @@ static bool isI32Insn(const SDNode *User, const SDNode *N) {
default:
// If the use is an instruction which treats the source operand as i32,
// it is safe to avoid truncate here.
if (isI32Insn(*UI, N))
if (isI32Insn(U, N))
continue;
break;
case ISD::ANY_EXTEND:
Expand Down

0 comments on commit 7cf887b

Please sign in to comment.