[LoongArch64] Fixed the assert error "(regRecord->assignedInterval == nullptr)" ...
authorQiao Pengcheng <qiaopengcheng@loongson.cn>
Sun, 3 Jul 2022 04:26:07 +0000 (12:26 +0800)
committerGitHub <noreply@github.com>
Sun, 3 Jul 2022 04:26:07 +0000 (21:26 -0700)
src/coreclr/jit/lsraloongarch64.cpp

index 58cffe8..c80e3d7 100644 (file)
@@ -271,6 +271,7 @@ int LinearScan::BuildNode(GenTree* tree)
         case GT_RSZ:
         case GT_ROR:
             srcCount = BuildBinaryUses(tree->AsOp());
+            buildInternalRegisterUses();
             assert(dstCount == 1);
             BuildDef(tree);
             break;