From e90aa5a719b48e7aa6549b7c028f40dca04074f2 Mon Sep 17 00:00:00 2001 From: qiaopengcheng Date: Sat, 2 Jul 2022 15:18:10 +0800 Subject: [PATCH] [LoongArch64] Fixed the assert error "(regRecord->assignedInterval == nullptr)" --- src/coreclr/jit/lsraloongarch64.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/jit/lsraloongarch64.cpp b/src/coreclr/jit/lsraloongarch64.cpp index 58cffe8b8d939..c80e3d7830046 100644 --- a/src/coreclr/jit/lsraloongarch64.cpp +++ b/src/coreclr/jit/lsraloongarch64.cpp @@ -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;