[VE] Fix SDNode user loop after efa896e5f7

Rewriting SDNode user loops broke VEISelLowering (commit efa896e5f7).
This fixes it.
This commit is contained in:
Simon Moll 2021-11-15 09:53:09 +01:00
parent f835fe8ef7
commit 7cf887b950
1 changed files with 1 additions and 1 deletions

View File

@ -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: