Skip to content

Commit

Permalink
Fold nullchecks in Interlocked.* (#101956)
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo authored May 8, 2024
1 parent 56e67a7 commit 35ad5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/earlyprop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ GenTree* Compiler::optFindNullCheckToFold(GenTree* tree, LocalNumberToNullCheckT
{
assert(tree->OperIsIndirOrArrMetaData());

GenTree* addr = tree->GetIndirOrArrMetaDataAddr();
GenTree* addr = tree->GetIndirOrArrMetaDataAddr()->gtEffectiveVal();

ssize_t offsetValue = 0;

Expand Down

0 comments on commit 35ad5e1

Please sign in to comment.