Skip to content

Commit

Permalink
Handle unary operator GT_CNEG_LT in few code paths (#71845)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak committed Jul 9, 2022
1 parent 9e28168 commit 4a38ac3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/coreclr/jit/compiler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4212,7 +4212,10 @@ void GenTree::VisitOperands(TVisitor visitor)
}
FALLTHROUGH;

// Standard unary operators
// Standard unary operators
#ifdef TARGET_ARM64
case GT_CNEG_LT:
#endif // TARGET_ARM64
case GT_STORE_LCL_VAR:
case GT_STORE_LCL_FLD:
case GT_NOT:
Expand Down
5 changes: 4 additions & 1 deletion src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5961,7 +5961,10 @@ bool GenTree::TryGetUse(GenTree* operand, GenTree*** pUse)
case GT_IL_OFFSET:
return false;

// Standard unary operators
// Standard unary operators
#ifdef TARGET_ARM64
case GT_CNEG_LT:
#endif // TARGET_ARM64
case GT_STORE_LCL_VAR:
case GT_STORE_LCL_FLD:
case GT_NOT:
Expand Down

0 comments on commit 4a38ac3

Please sign in to comment.