forked from OSchip/llvm-project
[VE] Fix SDNode user loop after efa896e5f7
Rewriting SDNode user loops broke VEISelLowering (commit efa896e5f7
).
This fixes it.
This commit is contained in:
parent
f835fe8ef7
commit
7cf887b950
|
@ -2513,7 +2513,7 @@ static bool isI32Insn(const SDNode *User, const SDNode *N) {
|
||||||
default:
|
default:
|
||||||
// If the use is an instruction which treats the source operand as i32,
|
// If the use is an instruction which treats the source operand as i32,
|
||||||
// it is safe to avoid truncate here.
|
// it is safe to avoid truncate here.
|
||||||
if (isI32Insn(*UI, N))
|
if (isI32Insn(U, N))
|
||||||
continue;
|
continue;
|
||||||
break;
|
break;
|
||||||
case ISD::ANY_EXTEND:
|
case ISD::ANY_EXTEND:
|
||||||
|
|
Loading…
Reference in New Issue