Closed
Description
This function is supposed to return true if the tree rooted at a node has any side effects in it. It is equivalent to checking gtFlags & GTF_SIDE_EFFECT
, except for a special case around GT_CALL
and GT_INTRINSIC
.
The GT_INTRINSIC
special case looks wrong; it does not return true for an intrinsic where the side effect comes from a sufficiently nested descendant node.