Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4f2f9be

Browse files
Merge pull request #15880 from tannergooding/hwintrin-containment
Mark emitIns_R_A and emitIns_R_R_A to be not defined for legacy backend
2 parents 5424bc6 + 1b66556 commit 4f2f9be

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/jit/emitxarch.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3891,6 +3891,7 @@ void emitter::emitIns_R_R_I(instruction ins, emitAttr attr, regNumber reg1, regN
38913891
emitCurIGsize += sz;
38923892
}
38933893

3894+
#ifndef LEGACY_BACKEND
38943895
void emitter::emitIns_R_A(instruction ins, emitAttr attr, regNumber reg1, GenTreeIndir* indir, insFormat fmt)
38953896
{
38963897
ssize_t offs = indir->Offset();
@@ -3929,6 +3930,7 @@ void emitter::emitIns_R_R_A(
39293930
dispIns(id);
39303931
emitCurIGsize += sz;
39313932
}
3933+
#endif // !LEGACY_BACKEND
39323934

39333935
void emitter::emitIns_R_R_C(
39343936
instruction ins, emitAttr attr, regNumber reg1, regNumber reg2, CORINFO_FIELD_HANDLE fldHnd, int offs)

src/jit/emitxarch.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,11 @@ void emitIns_R_R(instruction ins, emitAttr attr, regNumber reg1, regNumber reg2)
365365

366366
void emitIns_R_R_I(instruction ins, emitAttr attr, regNumber reg1, regNumber reg2, int ival);
367367

368+
#ifndef LEGACY_BACKEND
368369
void emitIns_R_A(instruction ins, emitAttr attr, regNumber reg1, GenTreeIndir* indir, insFormat fmt);
369370

370371
void emitIns_R_R_A(instruction ins, emitAttr attr, regNumber reg1, regNumber reg2, GenTreeIndir* indir, insFormat fmt);
372+
#endif // !LEGACY_BACKEND
371373

372374
void emitIns_R_R_C(
373375
instruction ins, emitAttr attr, regNumber reg1, regNumber reg2, CORINFO_FIELD_HANDLE fldHnd, int offs);

0 commit comments

Comments
 (0)