Update the HWIntrinsic nodes to allow dead code optimization. #9626
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
enhancement
Product code improvement that does NOT require public API changes/additions
optimization
tenet-performance
Performance related issue
Milestone
dotnet/coreclr#16066 updated the hardware intrinsic nodes to never be optimized away, under the general assumption that users will be hand optimizing their code.
However, in some cases (such as when inlining, or when constant parameters are passed), it may still be beneficial to optimize away any dead or unreached code.
We should update the HWIntrinsic nodes to properly set and track the
SideEffecting
flag.category:cq
theme:hardware-intrinsics
skill-level:intermediate
cost:small
The text was updated successfully, but these errors were encountered: