Skip to content

Commit

Permalink
ouch, IMM never been contained for GT_ADD on hardware >= arm64v8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo committed Oct 30, 2021
1 parent a04c685 commit 703fd6f
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 703fd6f

Please sign in to comment.