Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/coreclr/jit/emitarm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4848,6 +4848,7 @@ void emitter::emitIns_Call(EmitCallType callType,

dispIns(id);
appendToCurIG(id);
emitLastMemBarrier = nullptr; // Cannot optimize away future memory barriers
}

/*****************************************************************************
Expand Down
1 change: 1 addition & 0 deletions src/coreclr/jit/emitarm64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8908,6 +8908,7 @@ void emitter::emitIns_Call(EmitCallType callType,

dispIns(id);
appendToCurIG(id);
emitLastMemBarrier = nullptr; // Cannot optimize away future memory barriers
Copy link
Member Author

@jakobbotsch jakobbotsch Sep 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this entire peephole should be switched to use the new backwards traversal peephole mechanism, which I expect would have quite significant TP improvements as we currently have code in very hot appendToCurIG to handle this peephole. I've opened #91825 to track that. However, given that this PR should be backported I've kept the fix here surgical.

}

/*****************************************************************************
Expand Down