Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lyh552506 committed Aug 20, 2024
2 parents 68347fe + 159b7b2 commit 0c7aa67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/RISCVISel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -769,9 +769,9 @@ void RISCVISel::LowerCallInstCacheLookUp4(CallInst* inst){
this->asmprinter->set_use_cachelookup4(true);
RISCVMIR* call = new RISCVMIR(RISCVMIR::call);
// the call inst is: call CacheLookUp(int/float, int/float)
// the size of uselist is 3, and the first use is called function
// the size of uselist is 5, and the first use is called function
BuildInFunction* buildinfunc = BuildInFunction::GetBuildInFunction(inst->GetOperand(0)->GetName());
call->AddOperand(M(buildinfunc)); // "CacheLookUp"
call->AddOperand(M(buildinfunc)); // "CacheLookUp4"
int regint=PhyRegister::PhyReg::a0;
for(int index=1; index<5; index++) {
Operand op = inst->GetOperand(index);
Expand Down

0 comments on commit 0c7aa67

Please sign in to comment.