Skip to content

Commit

Permalink
[arm64] JIT: Fix IsContainableImmed for arm64 v8.1 or higher (#61035)
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo authored Nov 2, 2021
1 parent 10eb1a9 commit b3c8fe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/coreclr/jit/lowerarmarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ bool Lowering::IsContainableImmed(GenTree* parentNode, GenTree* childNode) const
case GT_ADD:
case GT_SUB:
#ifdef TARGET_ARM64
return emitter::emitIns_valid_imm_for_add(immVal, size);
case GT_CMPXCHG:
case GT_LOCKADD:
case GT_XORR:
Expand Down

0 comments on commit b3c8fe8

Please sign in to comment.